How do I use vinagre to connect to a ssh host not using the default port 22?

Asked by Rocko

Let's say I would normally connect to my ssh server using the command:

ssh <email address hidden> -p port

How do I specify this in vinagre's "use host as an SSH tunnel"? vinagre accepts the <email address hidden> format, but if you specify "<email address hidden>:port" or "<email address hidden> -p port" or "<email address hidden> port" it immediately says permission is denied.

Also, what is the correct entry to use for 'Host' when using a ssh tunnel? I have to specify something or the Connect button remains greyed out, but since vinagre must connect via a forwarded localhost port, there shouldn't be a need to specify a host unless I need to manually specify the port to use.

The help manual looks quite out of date and doesn't contain anything on this subject.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu vinagre Edit question
Assignee:
No assignee Edit question
Solved by:
Rocko
Solved:
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Rocko (rockorequin) said :
#2

I still haven't figured it out, though.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Rocko (rockorequin) said :
#4

Anyone? Does anyone know where there might be documentation on this?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

To answer to:

"...connect to a ssh host not using the default port 22..."

Try putting in vinagre window into host name this address:

hostname_or_ip_address:number_of_port

example

192.168.100.44:2222

Hth

Revision history for this message
Rocko (rockorequin) said :
#6

Thanks, but that doesn't work, as I indicated in the original description.

Revision history for this message
Rocko (rockorequin) said :
#7

Here's the answer - it was a bug:

https://bugs.launchpad.net/ubuntu/+source/vinagre/+bug/594746

which is now fixed in version 2.30.2-0ubuntu1.

a) using host:port or user@host:port for the ssh tunnel now works

b) the correct entry for 'Host' is localhost if you want it to connect to vnc running on the ssh server host.