I have a macbook, and I need to write server project, so I have to install
VirtualBox on my macbook, also, I enjoy wandering into Debian,. Again, I
have install and config Debian into VirtualBox.
Now, my question are: I have needed to login VirtualBox's Debian in my macbook
terminal; As the same time, I have enough interests on logging into macbook
with my VirtualBox Debian's terminal.
I've just set NAT connection between my VirtualBox Debian and macbook. In NAT
status, that the virtual machine could access the host machine via
ssh [email protected]
, while the host machine need to
set port forwarding to access the virtual machine via
ssh -p port_forwarding_port [email protected]
.
As the below image show: