现在你的眼前应该可以看到[root@liujunjun~]#的提示。
首先,建立目标机器的网络设置:
安装和升级软件包前,先让本地的包数据库和远程的软件仓库同步是个好习惯。
[root@liujunjun~]#pacman –Syy openshh
访问 arch Linux 主机的该文件
vim /etc/ssh/sshd_config
对应注释部分后边补上下边三行:
LoginGraceTime 120
PermitRootLogin yes
StrictModes yes
接着重启 SSH 服务:
systemctl restart sshd.service
现在就可使用远程连接工具进行远程连接了。注意:旧版本的SecureCRT连接可能会连接不上。报错
Key exchange failed.
No compatible key exchange method. The server supports these methods: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256
或者升级,或者用其他的连接工具,比如MobaXterm_CHS就可以
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)