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.
Historical Number
590804807
Was this topic helpful?
Document Information
More support for:
IBM i
Software version:
Version Independent
Operating system(s):
IBM i
Document number:
685615
Modified date:
18 December 2019
UID
nas8N1011693