Store ssh_host_key of remote node

Run ssh-keygen on the known_host file to extract the ssh_host_key.  We
do this to help debug the scenario when the remote nodes
identification has changed:

  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  @    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
  51:82:00:1c:7e:6f:ac:ac:de:f1:53:08:1c:7d:55:68.
  Please contact your system administrator.

Change-Id: Ica41c80db91e7b08dbc34516b3812da4148c36e3
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
1 file changed