http://www.runoob.com/linux/linux-comm-scp.htmlhtml
scp 是用於兩臺linux之間的文件傳輸命令;window和linux 用 sftplinux
從本地複製到遠程spa
scp local_file remote_username@remote_ip:remote_folder scp -r local_folder remote_username@remote_ip:remote_folder
從遠程複製到本地,調換2個參數命令便可code
scp root@www.runoob.com:/home/root/others/music /home/space/music/1.mp3 scp -r www.runoob.com:/home/root/others/ /home/space/music/