user3871995 user3871995 - 4 months ago 20
Linux Question

How can I SSH remotely into my linux VirtualBox?

I am trying to remotely access a virtual box remotely. Because this is a virtualbox hosted on a windows machine, it does not have it's own IP address to use for SSH login. I have tried changing the network settings to Bridge Adapter to get an IP, but nothing has worked. Are there some steps I am missing, or what else can I do to SSH into the box? Thanks.


If you were using the NAT mode before and you have no reason to change it other then the SSH, you can do it in that mode. Just expand the advanced settings in the network configuration and create a port forwarding rule for the port 22. Then you will be able to SSH to the VM by using the host's ip address.