Go to ...

Techpository

A Better Technical Repository

RSS Feed

Linux: The sftp nuance of switching ports


I like command like consistency, ssh and sftp have some variations.
One key one is port switching.
Here is the difference:

sftp -o Port=[port] [user]@[server]

ssh [user]@[server] -p [port]