Monday, January 16, 2017

SSH to linux(Ubuntu) on Virtual Box on/from Windows machine


  • Download Ubuntu linux software online 
  • Installed VirtualBox on the Windows machine
  • Installed Ubuntu on VM (min 60GB hard disk space)
  • install on ubuntu--->$ sudo apt-get install openssh-server to be able to ssh linux server

ssh to ubuntu on virtualbox
https://www.unixtutorial.org/2009/05/ubuntu-ssh-how-to-enable-secure-shell-in-ubuntu/



Now I tried to SSH to VM from Windows


Go to Settings(on VirtualBox, select the machine -> Go to Networks-> Select NAT-> Advanced properties )->






Then SSH the VM from MobaXterm

Image 3

Add all the required ports here




------------------------------------------------------------------------------------------------------------------------


Another Approach:






No comments:

Post a Comment