发送到远程

scp -rp ./text.txt username@remoteIP:/path #将本地文件拷贝到服务器上

从远程拉取

scp -rp username@remoteIP:/path/filename ./ #将远程文件从服务器下载到本地