ssh连接服务器
ssh root@222.215.230.219 服务器远程端口为22
ssh -p 2203 root@222.215.230.219 服务器远程端口为2203(p小写)
scp上传单个文件
scp /home/haha/test.ss root@222.215.230.219:/var/www/test.ss 服务器远程端口为22
scp -P 1234 /home/haha/test.ss root@222.215.230.219:/var/www/test.ss 服务器远程端口为1234(p大写)
scp下载远程服务器目录下的所有文件
scp -P 2222 -r root@222.215.230.219:/var/www/ /home/haha/ 服务器远程端口为2222
scp上传一个目录及其下的所有文件到远程服务器
scp -P 2222 -r /home/haha/ root@222.215.230.219:/var/www/ 服务器远程端口为2222