Troubleshooting
Problem
This document includes the syntax of the SSH and SFTP client commands to specify a different port on the secure host that is being connected to.
Resolving The Problem
This document includes the syntax of the SSH and SFTP client commands to specify a different port on the secure host that is being connected to.
For SSH, the syntax would be as follows:
ssh -T -p #### user@host
For SFTP, the syntax would be as follows:
sftp -o port=#### user@host
or
sftp -oport=#### user@host
In all examples, #### would be replaced by the desired port number.
[{"Product":{"code":"SWG60","label":"IBM i"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Communications-TCP","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]
Historical Number
590804807
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1011693