How to ssh / sftp to a port other than 22

$ ssh user@remotehostip -p XXX
-o ssh_option
             Can be used to pass options to ssh in the format
 used in ssh_config(5).  This is useful for specifying options
 for which there is no separate sftp command-line flag.  For
 example, to specify an alternate port use: sftp -oPort=24.


Popular posts from this blog

Check MySQL query history from command line

Installing chocolatey on Windows

Fixed: ImportError: No module named