windows系统远程连接linux系统

windows系统远程连接linux系统

  • win+R打开命令窗口,输入ssh linux系统用户名@linux系统IP
C:\Users\PC>ssh root@192.168.146.129
  • 输入密码,这里输入时密码不会显示,注意输入时中英文的切换
root@192.168.146.129's password:
  • 登录成功
C:\Users\PC>ssh root@192.168.146.129
root@192.168.146.129's password:
Last login: Sat Oct 12 15:13:00 2019 from 192.168.146.1
[root@localhost ~]# 

如果想上传/下载文件win+R打开命令行

  • 下载到windows
C:\Users\PC>scp root@192.168.146.129:/etc/ssh/sshd_config D:/
root@192.168.146.129's password:
sshd_config                         100% 3906   963.5KB/s   00:00
  • 上传到linux
C:\Users\PC>scp D:/20190518RTDB_HT.bak root@192.168.146.129:/
root@192.168.146.129's password:
20190518RTDB_HT.bak                 100%   72MB  35.3MB/s   00:02

上传整个文件夹
scp 后加-r

C:\Users\PC>scp -r D:\apache-tomcat-8.5.41 root@192.168.146.129:/
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值