LoginSignup
4
2

More than 1 year has passed since last update.

sign_and_send_pubkey: no mutual signature supported

Posted at

たまにしかssh接続しない環境に久しぶりにMacからアクセスしたところ、以下のエラーでアクセスできなくなっていた。

sign_and_send_pubkey: no mutual signature supported

以下のようにPubkeyAcceptedKeyTypesとHostKeyAlgorithmsを指定すれば解決した。

Host myhost
  Hostname xxx.xxx.xxx.xxx
  User myuser
  IdentityFile ~/.ssh/mykey.pem
+  PubkeyAcceptedKeyTypes=+ssh-rsa
+  HostKeyAlgorithms=+ssh-rsa

MacOSのバージョンアップによってsshクライアントがデフォルトでRSAをサポートしなくなったんだろうか。推奨される方法でキーの再作成がベストらしいが、とりあえず接続はできるようになりました。

参考
https://stackoverflow.com/questions/73795935/sign-and-send-pubkey-no-mutual-signature-supported

4
2
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
4
2