Offending RSA key when we do bosh ssh


ramonskie
 

when i do "bosh ssh"
and select a job i get the error below
the strange is this does not happen with all of them

i tried updating the bosh gem to BOSH 1.3184.1.0
but no success
i use the following stemcell: 3147

===========================================
Starting interactive shell on job loggregator-trafficecontroller/0
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
37:eb:c2:b1:6b:ed:fb:ac:92:e0:2b:77:d9:f2:ae:05.
Please contact your system administrator.
Add correct host key in /home/vcap/.bosh/tmp/9ca7fd9f-dcf5-4739-98de-b4f4f607ad28_known_hosts to get rid of this message.
Offending RSA key in /home/vcap/.bosh/tmp/9ca7fd9f-dcf5-4739-98de-b4f4f607ad28_known_hosts:1
remove with: ssh-keygen -f "/home/vcap/.bosh/tmp/9ca7fd9f-dcf5-4739-98de-b4f4f607ad28_known_hosts" -R 172.21.28.17
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
Permission denied (publickey,password).

Cleaning up ssh artifacts
================================

a referring post maby https://lists.cloudfoundry.org/archives/list/cf-bosh(a)lists.cloudfoundry.org/thread/XGPNV3V5J7FPYMBE5RZEEQS4C6QZOQMZ/
i tried the option "bosh ssh --strict_host_key_checking no"

but no success

Join cf-bosh@lists.cloudfoundry.org to automatically receive all group messages.