How do I setup SSH/SCP/SFTP access to a Cluster server VIP Address?

Solution Verified - Updated -

Issue

  • I need to access SSH/SCP/SFTP via my cluster's VIP (Floating IP).
  • My cluster has a SSH/SCP/SFTP service.
  • I already have the SSH/SCP/SFTP service running on all the cluster nodes, but when I try to connect to the IP of a node or the cluster's VIP I get a message like this:
[someuser@localhost] $ ssh someuser@www.xxx.yyy.zzz
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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.
The fingerprint for the RSA key sent by the remote host is
XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX.
Please contact your system administrator.
Add correct host key in /home/someuser/.ssh/known_hosts to get rid of this message.
Offending key in /home/someuser/.ssh/known_hosts:#line-number
RSA host key for www.xxx.yyy.zzz has changed and you have requested strict checking.
Host key verification failed.
  • Facing fingerprint mismatch error when the active node changes due to a service failover in a cluster

Environment

  • Red Hat Enterprise Linux 5 (with the High Availability Add on)
  • Red Hat Enterprise Linux 6 (with the High Availability Add on)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content