PR
TIPS

お名前.comのレンタルサーバーでsshエラー

お名前.comのレンタルサーバーでSSHエラーが発生しました。

エラーメッセージ:
Unable to negotiate with xxx.xxx.xxx.xxx port 22: no matching key exchange method found. Their offer: gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g==,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: unexplained error (code 255) at /AppleInternal/Library/BuildRoots/66382bca-8bca-11ec-aade-6613bcf0e2ee/Library/Caches/com.apple.xbs/Sources/rsync/rsync/io.c(453) [receiver=2.6.9]

解決策として、configファイルに以下の設定を追加します。

Host ssh17.gmoserver.jp
  KexAlgorithms +diffie-hellman-group1-sha1
  Ciphers aes128-cbc
この記事を書いた人
Naokazu Yokoo

エンジニア歴20年以上。現在はWeb / AI領域で活動中。
開発環境・サーバー環境ともに速度と効率性を追求しています。

Follow Naokazu Yokoo
Follow Naokazu Yokoo

Comment

タイトルとURLをコピーしました