Linux: Connecting to SFTP using an alternative port

Problem

The default port is 22, it's tricky to find the command to select a different port.

Solution

Example using port 2222

sftp -oPort=2222 user_name@sserver_name.com

Acknowledgment

http://www.linuxquestions.org/questions/linux-security-4/how-to-use-different-port-for-sftp-345359/

Comments