linux指定端口登录linux服务器

ssh 到指定端口 ssh -p xx user@ip xx 为 端口号 user为用户名 ip为要登陆的ip
ssh -p xx [email protected]
指定端口上传文件。
scp -P 66 Anaconda3-5.3.1-Linux-x86_64.sh [email protected]:/data/gaozhen/software

猜你喜欢

转载自blog.csdn.net/gz153016/article/details/109278228