PHP Blog

Home Login

SSH接続コマンドのエラーを既知の接続先ファイルに公開鍵を格納することで直した:Corrected SSH connection command error by storing public keys into every host name files in \'known_hosts.d\' directory

「鍵の指紋」というのは

GitHubの「known_hosts(既知の接続先一覧)」用の公開鍵を表示する

GitLabの「known_hosts(既知の接続先一覧)」用の公開鍵を表示する

~/.ssh/key_fingerprints.d(既知の接続先) なるディレクトリに各接続先のドメイン名のファイル(github.com など)に接続先の提供する公開鍵を格納する。

しかし、これまではSSH接続を確立するときに鍵の指紋(key fingerprint)を表示して「これでいいか(yes/no)」と聞いてきて、(実際には確認しないのだが..) "yes" と入力すれば接続できたのに、接続先の公開鍵をあらかじめ登録しておかないといけないように変わったのだろうか。


Posted by: Admin
2025-06-11 23:04:39

This site is running using a public git repository "Simple Blog";Summernote@0.9.0 Super simple WYSIWYG editor ;All rights reserved | 2026

下の広告が表示されない場合は、どうぞ広告ブロッカーをOFFにしてください。

スキルマーケット「ココナラ」

サービス内容をみる