上传:
scp /home/me/Desktop/test.txt user_name@192.168.0.0:/opt
下载
scp user_name@192.168.0.0:/opt/test.txt /home/me/Desktop
上传目录:
scp -r /home/me/Desktop/test user_name@192.168.0.0:/opt
下载目录:
scp -r user_name@192.168.0.0:/opt/test /home/me/Desktop