x86 AYAME / X4 からのSSHアクセスにおいて known_hostsを削除できるようにして欲しい
X86 ayame 2.53 環境にて
IPアドレスを引き継いでの機器の置換を行った場合、生成されるRSAキー異なるため、SSHでのアクセス時、キー不一致による以下のエラーが発生します。
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
Please contact your system administrator.
Add correct host key in /home/admin/.ssh/knownhosts to get rid of this message.
Offending RSA key in /home/admin/.ssh/knownhosts:1
RSA host key for 192.168.xxx.xxx has changed and you have requested strict checking.
Host key verification failed.
以前のOSでは『clear ssh known-hosts-cache』コマンドが搭載されていたため、同様の事象が発生した場合でも回避できましたが、新機種用のOSではリファレンスをどれだけ確認してもそれらしきコマンドが発見できなかったため現状搭載されていないと判断し、要望を提出致します。
別のクライアントを用意することで回避できる場合もありますが、運用上どうしてもSEILを踏み台にしなければならない環境で非常に不便ですので、検討して頂きたいです。