Hi,
I have an internal development environment which consists of 20 servers (a mix of LINUX and SOLARIS) and I wish to load the ssh rsa key that I generated on my central server onto these.
So far I have generated my ssh key file for my central server using the command ssh-keygen -t rsa -f myfile
I am then using ssh to manually log into each of the servers; then using scp to copy myfile.pub over to this server and then using cat to append the contents of myfile.pub into the authorized_keys file on the server.
This all works fine but its a slow process.
I was wondering if anyone knew of a way I could use commands/scripts etc. on my central server to update the authorized_keys file on each of the other servers so that I can speed up this process.
Any help would be great.
Thanks.
I have an internal development environment which consists of 20 servers (a mix of LINUX and SOLARIS) and I wish to load the ssh rsa key that I generated on my central server onto these.
So far I have generated my ssh key file for my central server using the command ssh-keygen -t rsa -f myfile
I am then using ssh to manually log into each of the servers; then using scp to copy myfile.pub over to this server and then using cat to append the contents of myfile.pub into the authorized_keys file on the server.
This all works fine but its a slow process.
I was wondering if anyone knew of a way I could use commands/scripts etc. on my central server to update the authorized_keys file on each of the other servers so that I can speed up this process.
Any help would be great.
Thanks.