Digital Marketing

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

Popular posts from this blog

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership