Facilities > GBT > Observer Alerts > Stargate 2 SSH update - 08/31/2015

Stargate 2 SSH update - 08/31/2015

by Toney Minter last modified Sep 09, 2015

The RSA host key on stargate2.gb.nrao.edu has recently changed.  
Observers trying to ssh into this machine may see a warning such as:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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 the RSA host key has just been changed.

and will not be able to connect.  The warning message should also be
accompanied by a a line such as:

Offending key in ~/.ssh/known_hosts:nn

where nn will be a number corresponding to an entry in the known_hosts file.

An easy way to remove the offending key is to execute the following command: ssh-keygen -R stargate2

Alternatively observers vould edit their local known_hosts file,
typically found in ~/.ssh and delete the line number corresponding to
nn.  A text search for stargate2 may also help identify the incorrect line.

Observers should be aware that this may also affect vnc connections, but
depending on the particular vnc software that is being used, the message
may be suppressed.  If observers are unable to connect via vnc, they
should first try the above fix (searching for entries corresponding to
stargate2 in the known_hosts file).