ssh username@remote_hostname_or_IP
Transferring Remote Files to the Local System
get remoteFile Local path
Copy a directory and all of its contents by specifying the recursive option:
get -r someDirectory
Appropriate permissions and access times by using the “-P” or “-p” flag
get -Pr someDirectory
Transferring Local Files to the Remote System
put localFile
Copy an entire local directory, you can issue:
put -r localDirectory
Reference:
0 意見:
張貼留言