スポンサーリンク

Fedora36にアップグレード(トラブルあり)

パソコン・家電
スポンサーリンク

自宅サーバをFedora36にアップグレードしました。

手順は以前と同じですので、過去記事を参考にしてください。

アップグレード後、SSHでサーバにログインできなくなりました。TeratermでSSH接続する際に認証に失敗するようになりました。ずいぶん前にSSHでのログインを設定していましたが、結論から言いますと鍵がRSAをサポートしなくなったのが原因でした。

というわけで、鍵を作成し直しました。

ssh-keygen -t ecdsa

で~/.ssh/にid_ecdsaとid_ecdsa.pubが生成されますので、公開鍵id_ecdsa.pubをauthorized_keysにリネームし、秘密鍵id_ecdsaをクライアントに配布します。

また、LAN向けでtelnetも設定していたのですが、自動起動が解除されていてやはり繋がりませんでした。

sudo systemctl enable telnet.socket
sudo systemctl start telnet.socket

で解決しました。

コメント

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny

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