您的位置 首页 > 数码极客

windows如何访问linux、windows如何访问mac共享文件!

windows powershell命令ssh链接linux系统,windows使用ssh链接linux。 只有windows 10以上的版本才支持使用ssh命令,windows 7一直不支持ssh链接。我们今天主要是使用windwos 10来连接linux系统。 如下图,在启动栏里面就有windows powershell文件夹,当然里面不止一个shell,这里我们用到的就是windows powershell 。

我这里链接的是linux centos 7 系统;只要是linux系统都可以用windows10自带的powershell链接。注意:端口默认是22 命令如下:ssh root@127.0.0.1 连接成功之后,会让你输入linux的密码 (root 是连接的服务器登录名及用户名) PS C:\Users\Administrator> ssh root@23.0.0.28 直接了回车

The authenticity of host '23.0.0.28 )' can't be established.

ECDSA key fingerprint is SHA256:M/6sRW4Br0zPvkg2fhbC2H2Yn+f84mt4SbVR6Q6bTq4.

Are you sure you want to continue connecting (yes/no)? yes 这里我们输入yse

Warning: Permanently added '23.0.0.28' (ECDSA) to the list of known hosts.

root@1.1.1.1's password: 这里输入服务器密码
Last failed login: Mon Feb 1.0.61.3CST 2020 from 1.0.61.3 on ssh:notty

There were 207857 failed login attempts since the last successful login.

Last login: Sat Feb 8 12:35:27 2020 from 1.0.61.3

[root@localhost ~]# 显示这个就链接上了,接下来你就可以输入linux命令进行操作了。

责任编辑: 鲁达

1.内容基于多重复合算法人工智能语言模型创作,旨在以深度学习研究为目的传播信息知识,内容观点与本网站无关,反馈举报请
2.仅供读者参考,本网站未对该内容进行证实,对其原创性、真实性、完整性、及时性不作任何保证;
3.本站属于非营利性站点无毒无广告,请读者放心使用!

“windows如何访问linux,windows如何访问mac共享文件,windows如何访问linux服务器,windows如何访问linux文件,windo”边界阅读