Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

command:

vncviewer -via 192.168.x.x@administrator localhost:0

ssh: connect to host administrator port 22: No route to host
vncviewer: Tunneling command failed: /usr/bin/ssh -f -L 5599:localhost:5900 192.168.x.x@administrator sleep 20.

How can we fix this?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

user name and host are around the wrong way

vncviewer -via 192.168.x.x@administrator localhost:0

Try

vncviewer -via administrator@192.168.x.x localhost:0

Also make sure you have you installed openssh-server?

apt-get install openssh-server
share|improve this answer
    
The first one works. Thanks –  ckknight Aug 26 '13 at 3:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.