Liunx ssh scp远程连接

SSH
格式 ssh -p 端口 用户名@ip地址
例如: ssh -p 8080 [email protected]
SCP
格式
scp -P 端口 源主机目录 目标主机目录
例如Windows向Liunx传输文件:scp -P 8080 C:\Users\code\test.txt [email protected]:/data/code/

发布了1 篇原创文章 · 获赞 0 · 访问量 15

猜你喜欢

转载自blog.csdn.net/weixin_44963741/article/details/104449482