scp 命令scp ./要传输的文件 user@remoteip:/path/to/目的文件夹如果要传输文件夹的话,需要加"-r". scp -r ./要传输的文件 user@remoteip:/path/to/目的文件夹