Operating System - HP-UX
1834961 Members
1973 Online
110071 Solutions
New Discussion

how to ssh to each other without prompting passwd withing multi-servers?

 
SOLVED
Go to solution
Hanry Zhou
Super Advisor

how to ssh to each other without prompting passwd withing multi-servers?

Hi,

I've for instance, 3 servers: A, B, and C.

I want A and B ssh onto C without prompting the password.

I can do that between A and C no problem, I just scp the public key to home directory/.ssh/authorized_key
but if I want to do the same from B to C, and the public key on B would write over to existed $HOME/.ssh/authorized_key. How can I solve the problem?

Thanks,
none
1 REPLY 1
Sridhar Bhaskarla
Honored Contributor
Solution

Re: how to ssh to each other without prompting passwd withing multi-servers?

Hi Hanry,

If the authorized_key file is already existing, then you simply append the public key.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try