My Oracle Support Banner

How To SSH To Multiple Servers Behind a Public IP (Doc ID 2050225.1)

Last updated on JULY 29, 2016

Applies to:

Solaris Operating System - Version 10 3/05 and later
Information in this document applies to any platform.

Goal


How to connect to multiple SSH servers live behind one  public IP to avoid the below message on ssh client :

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Someone could be eavesdropping on you right now(man-in-the-middle attack)
It is also possible that the RSA host key has been changed.
The fingerprint for the RSA key sent by the remote host is md5 xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.xx.
Please contact your system administrator.
Add correct host key in /home/user/.ssh/known_hosts
Offending key is entry 3 in /home/user/.ssh/known_hosts
RSA host key for Serverhas changed and you have requested strict checking.
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.