Specifying SSH port number on the command line
- The -p <port> option can be used to specify the port number to connect to when using the ssh command on Linux.
- The -P <port> (note: capital P) option can be used with SFTP and scp.
- The SSH port number command line setting overrides any value configured in configuration files.
Comments
Post a Comment