Passwordless-SSH login between different users instances
I'm trying to set up password-less SSH login between multiple instances on my server. My goal is to be able to monitor all instances, whether I created them or not, with Zenoss.
Current setup: 3 machines
A: Zenoss host- owned by me, Access via putty with my keypair
B: instance- owned by me, access via putty with my keypair
C: instance- owned by teammate, access via putty with their keypair
I'm able to set up password-less SSH login between the instances I have created (A to B), however, I cannot between my Zenoss monitoring instance and any instances not created by me(A to C). Whenever I try to copy the id_rsa.pub file to these instances, I keep getting a Permission denied(public key) error. I believe the problem is that I have log in to my instances using my keypair but must use the the other instances creator's keypair to access their instances. Any advice on how to proceed would be greatly appreciated.