12
10

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 5 years have passed since last update.

`sign_and_send_pubkey: no mutual signature supported` が出た時の対処

Posted at

問題

sshでログインしようとしたらsign_and_send_pubkey: no mutual signature supported が出た

環境

ssh のバージョン

> ssh -V
OpenSSH_7.8p1, OpenSSL 1.0.2p  14 Aug 2018

原因

新しいOpenSSHでは、古い暗号方式を拒否するらしい(ssh-dss)

対策

大人の事情により暗号化方式を変えれないので ~/.ssh/config に以下を追記して回避

~/.ssh/config
Host nantoka-kantoka.com
  HostKeyAlgorithms ssh-dss
  PubkeyAcceptedKeyTypes ssh-dss

別途 Cipher で暗号化方式を指定している場合は + をつける必要ある

~/.ssh/config
Host nantoka-kantoka.com
  HostKeyAlgorithms +ssh-dss
  PubkeyAcceptedKeyTypes +ssh-dss

参考

12
10
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
12
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?