1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

RSA SSH: Permission denied (publickey,gssapi-with-mic). send_pubkey_test: no mutual signature algorithm

Posted at

サーバーにsshする時にRSA認証を使っているのですが、MacOSをアップデートしたら

Permission denied (publickey,gssapi-with-mic).

で入れない。公開鍵や秘密鍵は変えていないんですけど・・。

ssh -vvv アカウント名@サーバーIP

で出力をよく見ると、

send_pubkey_test: no mutual signature algorithm

と書いてあり、調べると「RSA SHA-1 hash algorithm」というのが脆弱性から急速に非推奨になっているらしい。MacOS更新でその煽りを喰らった可能性が高い。
とりあえずの解決法は、所定のIPだけ認証形式を使うこと。

/home/.ssh/config
Host ホスト名orIP
    PubkeyAcceptedKeyTypes +ssh-rsa

ベストな解決法ではない...

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?