Reply
Thread Tools
Posts: 5 | Thanked: 0 times | Joined on Apr 2012
#1
Good morning,

I would like to use the sftp client on my N9 but the server I'm trying to connect on only accept connections on the port 2211.

And i don't see the option for change the port number. Usually it's -P but here it's for 'sftp_server_path' :

Code:
$ sftp --help
usage: sftp [-1Cv] [-B buffer_size] [-b batchfile] [-F ssh_config]
            [-o ssh_option] [-P sftp_server_path] [-R num_requests]
            [-S program] [-s subsystem | sftp_server] host
       sftp [[user@]host[:file [file]]]
       sftp [[user@]host[:dir[/]]]
       sftp -b batchfile [user@]host
Any idea ? Or maybe i can install an other client ?
Thank you in advance.
 
coderus's Avatar
Posts: 3,941 | Thanked: 5,947 times | Joined on Nov 2011 @ Russia
#2
hm, you know google? can i introduce you to each other?
Code:
sftp -oPort=2222 user@123.456.789.012:/home/something
 

The Following User Says Thank You to coderus For This Useful Post:
Posts: 5 | Thanked: 0 times | Joined on Apr 2012
#3
I've been searching about this for a long time and I was coming back here just to say that i finally found !
My mistake comes from the 'man sftp' of my Archlinux.
Sorry for the disturbing and the bad english. I deserve this n00b award.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:55.