• ssh username@121.163.0.1 远程登陆121.163.0.1服务器
  • scp -r username@121.163.0.1:/home/username/remotefile.txt /home/username/ 将远程服务器上remotefile.txt文件拷贝到本机username目录下
  • scp -r localfile.txt username@192.168.0.1:/home/username/ 将本机上remotefile.txt文件拷贝到远程服务username目录下