1、scp /home/a.txt root@192.168.0.8:/home/root (文本)scp -r /soft root@192.168.1.101:/root/soft (文件夹)2、按照提示输入密码