I have Ubuntu 12.10 installed, and 12.04 Server set up in my virtual machine.
My VM has internet access, and I can ping it from my host.
ping symfony.dev # points to 192.168.56.101, and successful ping.
The problem is that I can't connect to it using SSH
me@ubuntu:~$ ssh firstname.lastname@example.org ssh: connect to host symfony.dev port 22: Connection refused me@ubuntu:~$ ssh -p 21 email@example.com ssh: connect to host symfony.dev port 21: Connection refused
There doesn't seem to be an IP conflict, if I close the machine I can't ping the address anymore.
SSH is installed on the VM (I did try
sudo apt-get install openssh-server, but it seems this package doesn't exist, only
openssh-client - which is already installed, and ssh works from VM).
Any ideas on how I can get this to work ?
I needed to install
openssh-server, but cound't do this without
sudo apt-get install sshd # next line won't work until you do this sudo apt-get install openssh-server