0
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?

macOS を Ventura にアップデートしたら ssh でサーバに入れなくなった

Last updated at Posted at 2024-02-04

事象

macOS を Monterey 12 から Ventura 13 にしたら、 ssh でサーバに入れなくなった。

原因

MacOS Ventura に同梱されているバージョンの OpenSSH がデフォルトで RSA 署名を無効にしているため。

対処方法

.ssh/config に以下の設定を追加したら解消した。

Host *
  : (省略)
  HostkeyAlgorithms +ssh-rsa
  PubkeyAcceptedAlgorithms +ssh-rsa

人によっては以下の設定も必要だったりする。(Monterey でセキュリティ強化されたため。)

  KexAlgorithms +diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

参考ページ

0
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
0
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?