maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Changing SFTP port number (https://talk.maemo.org/showthread.php?t=83597)

faya 2012-04-13 03:15

Changing SFTP port number
 
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 2012-04-13 05:57

Re: Changing SFTP port number
 
hm, you know google? can i introduce you to each other?
Code:

sftp -oPort=2222 user@123.456.789.012:/home/something

faya 2012-04-13 07:18

Re: Changing SFTP port number
 
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.


All times are GMT. The time now is 17:49.

vBulletin® Version 3.8.8