Monday, August 12, 2013

Secure Copy to a Different Port

At times you need to change the order in which services like ssh run on its default port for security reasons.  This in effect will impact your scp as well.  Here is the syntax for it.

$ scp -P port_number  /some_path_to_a_file @Ip_address

Cheers!

No comments:

Post a Comment