You are on page 1of 1

SFTP to a Different Port

Question
Can I sftp to an alternate port number?
Answer Yes, sftp is capable of connecting to a port other than port 22. Use the following syntax:sftp
-oPortport number IDhostname
Example:
# sftp -oPort10023 myuseridremoteserver.com

You might also like