Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 701 Bytes

远程登录.md

File metadata and controls

40 lines (34 loc) · 701 Bytes
ssh 用户名@ip
# 远程管理指定linux服务器
scp [-r] 用户名@ip:文件路径 本地路径
# 下载文件
scp [-r] 本地文件 用户名@ip:上传路径
# 上传文件

e.g.

ssh root@10.136.193.28
# 远程管理指定linux服务器
scp -r root@10.136.193.28:/root/test/hello.sh E:/test/sshtest
scp root@10.136.193.28:/root/test/hello.sh E:/test/sshtest
# 下载文件
scp -r E:/test/sshtest/* root@10.136.193.28:/root/test/
scp E:/test/sshtest/* root@10.136.193.28:/root/test/
# 上传文件

常用工具

  • SecureCRT
  • Xshell
  • WinSCP
  • FileZilla
yum -y install lrzsz
rz
# 上传数据
sz 文件名
# 下载数据
yum -y install rsync