I have been spending the last 4 hours trying to get my VNC connection to work. Eventually, I realized it was because my Ubuntu remote host was unable to host SSH connections- even though I had already installed openssh-server.
I then tried some basic tests to verify that sshd
was working on my machine, and found that ssh localhost
gives a Connection refused on port 22
error. Also, sudo service ssh start
and sudo start ssh
both give a start: Unknown job: ssh
error. I tried purging and reinstalling openssh-server
, but no luck. Why can't I receive clients?
EDIT: When I try to connect via the local machines (the VNC viewers) they give me a Connection timed out
error.
EDIT_2: As requested, here is the output of apt-cache policy openssh-server
:
openssh-server:
Installed: 1:6.6p1-2ubuntu2
Candidate: 1:6.6p1-2ubuntu2
Version table:
*** 1:6.6p1-2ubuntu2 0
500 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main armhf Packages
100 /var/lib/dpkg/status
1:6.6p1-2ubuntu1 0
500 http://ports.ubuntu.com/ubuntu-ports/ trusty/main armhf Packages
ufw
(uncomplicated firewall) and it says the status is inactive, so I don't think I have one. – James Ko Jun 23 '15 at 6:34sudo iptables --list
– Registered User Jun 23 '15 at 6:38apt-cache policy openssh-server
– A.B. Jun 23 '15 at 6:47