Hi,
We want to connect on servers with a trust relationship from a proxy touchpoint host to target remote hosts.
We have generated a key pair with the SSH-keygen program with command
ssh-keygen -t rsa
the private key that has been generated is in /root/.ssh/id_rsa
the public key that has been generated is in /root/.ssh/id_rsa.pub
We'd like to use this unique key pair for many users.
Can we configure the host group to use this unique file instead of looking for a file named as each user ?
For the moment in SSH Keys Path field in properties for the host group we have put
"/root/.ssh"
but it doesn't work unless if we do a copy of id_rsa for each user.
Example, if we want to connect to server X from host group Y with user "nagios" and with user "tomcat", we must copy /root/.ssh/id_rsa in files /root/.ssh/nagios and /root/.ssh/tomcat in Y server.
(and we add id_rsa.pub in authorized_keys in nagios home, and in tomcat home in server X)
Is there a simpler solution ?