SSH 和 SCP 指定端口 SCP 指定端口 scp -P ${port} xxx.tar.gz ${username}@${server ip}:/home/ubuntu SSH 端口 ssh ubuntu@xxx -p ${port}