SSH rsa key works with external IP not internal IP
        Posted  
        
            by 
                Ian
            
        on Super User
        
        See other posts from Super User
        
            or by Ian
        
        
        
        Published on 2012-12-14T20:33:35Z
        Indexed on 
            2012/12/14
            23:08 UTC
        
        
        Read the original article
        Hit count: 317
        
I am using rackspace cloud hosting. I have 2 servers behind a load balancer. Each server has an external IP and an internal IP. I want to setup a sync job that uses SSH to transfer files. I made an rsa key, and I can successfully SSH from server A into server B, using the external IP of server B, without being prompted for a password. If I try to do the same but use the internal IP, it prompts me for a password. I want to be able to use the key instead of the password. Why is this? Is there something special I have to do during key generation so it works for both IPs?
Any help is appreciated.
© Super User or respective owner