2017年2月24日 星期五

scp note

upload file to remote server
scp -P[remote_port] your_file username@remote_ip:remote_directory

upload directory to remote server
scp -P[remote_port] -r your_directory username@remote_ip:remote_directory

download file from remote server
scp -P[remote_port] username@remote_ip:remote_file_path place_path

download directory from remote server
scp -P[remote_port] -r username@remote_ip:remote_directroy place_path

沒有留言:

張貼留言