oocheretko / sshfs-gui

Automatically exported from code.google.com/p/sshfs-gui
0 stars 0 forks source link

Can sshfs-gui connect to a nonstandard port #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Just wondering if I am not using a standard ssh/sftp port number, can I still 
use sshfs-gui?

Original issue reported on code.google.com by sjle...@gmail.com on 12 Jan 2011 at 11:37

GoogleCodeExporter commented 8 years ago
Yes. Specify as a host name "some_host:port" instead if just "some_host".

Other way to do this is to specify " -p port" in command line options

Original comment by nasretdi...@gmail.com on 14 Jan 2011 at 9:51

GoogleCodeExporter commented 8 years ago

Original comment by nasretdi...@gmail.com on 14 Jan 2011 at 9:52

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
-p port does not work for me (version 1.2).  It leads to multiple -p options to 
sshfs (as seen from ps), and it seems that the first one (the -p 22) is used. 
It should not be necessary to pass -p 22 to sshfs, since that will be the 
default port.  If someone has changed the default port in ssh_config, then they 
probably have a good reason and probably want this change to apply to sshfs as 
well.

Using host:port in sshfs-gui worked for me, however.

Original comment by ian.hin...@gmail.com on 2 May 2011 at 8:16

GoogleCodeExporter commented 8 years ago
Hm, I actually did not think that someone would change default port in 
ssh_config. It actually makes sense, I will consider chanding the behaviour 
then, thank you for your support

Original comment by nasretdi...@gmail.com on 8 Oct 2011 at 11:39