


under the guest IP, type the IP address of the Virtual machine, the IP is given automatically within the Operating system, so you just need to check the setting of the Operating system #NOT THE SETTINGS OF THE VIRTUAL MACHINE.under the host port, type 3022, I tried 2222 but it didn't work for me, so try both.under the host IP, you will write your the IP of the local host (your laptop or PC).under the protocol field, you will leave it as TCP.under the name field, your will write ssh.N.B: I blured my local host IP and the VM IPĤ- here comes the tricky part and stick with me please It's not an everyday job that you want to connect between your local host and VM, however, sometimes you want to access it and doing stuff from your local host using the terminal, in this article I am going to give you a neat way to setup a SSH connection between the local host and the Virtual Machine.įirst of all, I am using Ubuntu 20.04 LTS and I installed virtual box for some practicing on ubuntu - I don't want to miss with my guy actually - and after installing Ubuntu on the virtual machine, I faced a problem while connecting my local host to the VM as most of us do while using VMs over the cloud or connecting to remote servers using SSH.īelow, is the steps in a simplified way to be able to connect to your VM from your local host using SSHġ- open the Virtual Box and select your virtual machine and click on settings.Ģ- you will go to networks and click on it, then click on advanced, then click on Port Forwarding.ģ- once you click on Port Forwarding, a small window will come up with two options on the right (adding a new port forwarding rule, removing a new port forwarding rule).
#USE COM5 PROT ON UBUNTUE 16 ON VITUAL MACHINE HOW TO#
Hi, in this article I am going to simplify how to connect your local host to the Virtual Machine your created using Oracle Virtual Box, using SSH.
