2018年5月7日月曜日

port forwading to ssh on Debian on VirtualBox

I have used Linux subsystem for windows 10, however the performance was not really good. especially it's Io works very slow when it write on the drive. it takes more time when downloading source or compiling codes, it is really slow. I will try to use Debian on virtualBox to compare which is the better choice for developments.
VirtualBox to open port 22 on 127.0.1.1  so let host port 3022 and forward it to 22.

name Protocol Host IP Host Port Guest IP guest Port
ssh 3022 22
$ssh -p 3022 username@127.0.0.1  
since the default ip address is 127.0.0.1 it should be changed later.