报错如图:
解决方法:The default interactive shell is now zsh.To update your account to use zsh,please runchsh -s /bin/zsh'For more details,please visit https://support.apple.com/kb/HT208050MacBook-Pro:~ xff$ ssh -VOpenSSH_9.0p1, LibreSSL 3.3.6MacBook-Pro:~xff$ ssh root@47.104.0.0 Unable to negotiate with 47.104.0.0 port 22: no matching host key typeTheir offer: ssh-rsa,ssh-dss
在ssh登录命令后面添加参数:
例如我的登录完整命令为:-o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa
ssh root@47.104.0.0 -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa
亲爱的:若该文章解决了您的问题,可否收藏+评论+分享呢?
文章评论 本文章有个评论