Ticket #39903

Hostkey rotation で ssh_known_hosts ファイルの中身が消える

Date d'ouverture: 2020-01-07 15:28 Dernière mise à jour: 2021-05-19 23:31

Rapporteur:
(Anonyme)
Propriétaire:
Type:
État:
Atteints
Composant:
Priorité:
5 - moyen
Sévérité:
7
Résolution:
Fixed
Fichier:
Aucun
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Détails

再現手順(Ver 4.105にて)

  1. ホストAに初めて接続する。ホスト鍵の追加ダイアログが出るので、追加して接続を続ける。
    Program Files (x86)\teraterm\ssh_known_hosts ... 変更なし
    VirtualStore\Program Files (x86)\teraterm\ssh_known_hosts ... ホストA の鍵が書き込まれる
  2. ホストBに初めて接続する。ホスト鍵の追加ダイアログが出るので、追加して接続を続ける。
    Program Files (x86)\teraterm\ssh_known_hosts ... 変更なし
    VirtualStore\Program Files (x86)\teraterm\ssh_known_hosts ... ホストB の鍵が書き込まれる
  3. 別の種類のホスト鍵が存在すると、2.のあとに Hostkey rotation ダイアログが出るので Yes で進む。
    Program Files (x86)\teraterm\ssh_known_hosts ... 変更なし
    VirtualStore\Program Files (x86)\teraterm\ssh_known_hosts ... ホストA の鍵が消える

ホスト鍵の追加ではVirtualStoreのssh_known_hostsに追記していますが、Hostkey rotationでは元のssh_known_hostsを元にVirtualStoreのssh_known_hostsに書き込んでいるように見えました(元のssh_known_hostsにコメント行を追加して確認しました)

ホスト鍵がssh_known_hostsに入っているはずの接続先に接続しに行き、ホスト鍵の追加ダイアログが出てくるのはとても心臓に悪いです。

Ticket History (3/4 Histories)

2020-01-07 15:28 Updated by: None
  • New Ticket "Hostkey rotation で ssh_known_hosts ファイルの中身が消える" created
2021-02-20 23:48 Updated by: youlab
  • Propriétaire Update from (Aucun) to youlab
  • Résolution Update from Aucun to Fixed
  • Jalon Update from (Aucun) to Tera Term 4.106 (atteints)
2021-02-21 12:06 Updated by: youlab
Commentaire

報告ありがとうございます。 次のバージョンで修正する予定です。

2021-05-19 23:31 Updated by: zmatsuo
  • État Update from Ouvert to Atteints

Attachment File List

No attachments

Modifier

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Connexion