scp
A secure copy protocol.
Web Site
Basic
Copy file like cp command, but over differnt host from {host1}'s {path1} to {host2}'s {path2}
|
|
-
If the director is localhost, you could omit the ssh access
{user}@{host}:. e.g.scp file.txt {user1}@{host1}:{director on host1} -
If the server use standard ssh port (port 22), the argument
-P 22can be omited.