Hi Anand,

>>>>> "Anand" == Anand Raman <[EMAIL PROTECTED]> writes:

    Anand> Hi guys I have a scenario where I need to connect using ssh
    Anand> to multiple servers behind a single virtual ip.

    Anand> I have generated the necessary server keys and can
    Anand> individually connect to the ip address.

    Anand> The problem arises when I want to connect using the virtual
    Anand> ip. Since the virtual ip automatically points to any of the
    Anand> multiple servers, the ssh client receives a different set
    Anand> of keys than the previously cached version. This causes ssh
    Anand> to fail with the message "SSH Keys has been modified". I
    Anand> understand this is the default behavior of ssh.

    Anand> Questions 1) Do you know of any alternate way of achieving
    Anand> this? I could think of copying the same host keys to the
    Anand> different servers and then trying it out 2) Is there any
    Anand> way this check can be suppressed.

If by ``virtual IP'' you mean a NAT into your LAN through the
firewall, you can achieve your end quite easily by NATing different
ports to different servers.  E.g. NAT virtual:22001 to ip1:22,
virtual::22002 to ip2:22, etc.

Regards,

-- Raju
-- 
Raj Mathur                [EMAIL PROTECTED]      http://kandalaya.org/
       GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
                      It is the mind that moves


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to