incrediblela.blogg.se

Ubuntu server install virtualbox
Ubuntu server install virtualbox












My resolution was similar to Roman T's however I needed to add a few extra steps. In the output you should have line like this one: 0 0 ACCEPT tcp - * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22 ctstate NEW In the VM type this command to show you the iptables, VM # iptables -nvL INPUT Next you neet to make sure that you are not blocking port 22 in your firewall/iptables, I can not believe so, but check it out anyway. You can test if the service work correctly by trying to ssh to it from the VM it self, VM # ssh 127.0.0.1

ubuntu server install virtualbox

This tell as we have a service/process with PID(2361) called sshd (OpenSSH daemon) listening to port 22. If you get ant result, then make sure you have a ssh service running on the VM, in the terminal on your VM type as root, VM # netstat -lnpt | grep 22 In this case my IP address will by 10.0.2.15,įirst try to make sure you can communicate on a basic level with VM, open a terminal window on your host, and try to ping the VM HOST # ping 10.0.2.15 (and no 127.0.0.1 is not the machine IP address) VM # ip addr showġ: lo: mtu 16436 qdisc noqueue state UNKNOWN First you need to decide if your VM connected to your host machine via a bridge connection or via a NAT, but ether way you'll need to put the VM IP address in putty to be able to connect to ip, in the VM terminal run this command to show you the machine IP address














Ubuntu server install virtualbox