June
20
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]