migrate bulk users to have passwordless ssh setup
Posted on 2011-09-23
have one question about passwordless setup.
currently,for instance, many servers can do passwordless ssh to SERVER A
Now,we are migrating all the stuff from Server A to Server B.
all those servers which were connecting to Server A,now need to connect to Server B.
Can i copy over the authorized_keys file from A to B ,so all those servers can connect to server B passwordlessly.
The idea is to avoid all those servers keys addition to server B /etc/ssh/auth_keys/<username> file.
Does it matter if platform(solaris to linux,vice versa)is different?
Server A connects to other servers using ssh which is passwordless. ServerA will be replaced by server B.
do i need to send Servers' B pub key to all those other servers have them add serverB pub key in their authorized key file?
Or to avoid this, can i just copy over the pub key pair from server A to Server B,so other servers wont have to make any change on their side.