美文网首页
osx13 ssh添加ssh-rsa算法

osx13 ssh添加ssh-rsa算法

作者: 晓函 | 来源:发表于2023-04-05 16:26 被阅读0次

mac os从12升级到13.3后,ssh连不上一些服务器,提示

ssh root@10.0.0.1
Unable to negotiate with 10.0.0.1 port 22: no matching host key type found. Their offer: ssh-rsa

原因是新ssh不支持ssh-rsa算法

解决办法

cd ~/.ssh
vi config

输入以下内容添加ssh-rsa算法

Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa

相关文章

  • OpenSSH升级到OpenSSH_8.8p1,秘钥登录异常解决

    看主要信息userauth_pubkey: key type ssh-rsa not in PubkeyAccep...

  • 2018-11-02

    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCrFz5tXWDEhwTrig1bk...

  • 2018-11-07

    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC09ANUxMGpwtyR/NwqV...

  • ssh

    查看ssh是否存在 如果你看到一长串已 ssh-rsa 或者ssh-dsa开头的字符串这说明本机有SSH key。...

  • 与远程版本库协作

    生成 SSH Key 想要在 GitHub 提交代码必须要先添加 SSH Key 配置。 指定 rsa 算法生成密...

  • Sourcetree添加github.com ssh

    Sourcetree添加: 1.直接通过sourcetree添加账号,创建ssh。(添加之前最好是清除.ssh文件...

  • Gitee免密推送和拉取

    生成/添加SSH公钥 访问gitee.com官网,添加SSH公钥 验证是否成功 本地添加帐号

  • windows开始使用git

    添加 ssh key 在 github 上添加 SSH key 的步骤: 1、首先需要检查你电脑是否已经有 SSH...

  • kali开启ssh

    修改sshd_config文件 添加或修改以下两行 重启ssh 查看ssh运行状态 添加ssh开机启动

  • GitLab clone

    添加ssh keypbcopy < ~/.ssh/xxxx.pub 编辑配置文件 ~/.ssh/confighos...

网友评论

      本文标题:osx13 ssh添加ssh-rsa算法

      本文链接:https://www.haomeiwen.com/subject/ihzeddtx.html