||02-06-2012 07:40 AM
Configuring ssh for a cluster of 12 computers for a single account
I've been using rsh and rlogin for many years on clusters (using RedHat 7 through FC6 OS). Currently, I am trying to configure a cluster with Fedora 14, and I noticed that the man pages mention that rsh/rlogin are deprecated and the ssh should be used instead.
The first quesion I have is: Are rsh/rlogin going to disappear at some point; leaving only ssh? The clusters I work on are on their own private network (unconnected to anything else), so I dont need ssh for security. However, if rsh/rlogin are going to disappear at some point, I'd like to switch over to ssh now.
I've done some research on ssh, and managed to get it working between two nodes on the cluster -- but it required a bit of user input to work (using ssh-keygen and ssh-copy-id). It appears I have to not only create a key on each account, but also register that key on each node I will be connecting to. That's a lot of work for setting up these 12 computers. And heaven forbid I am ever required to do it for more than 1 account!
Anyhow, I figured that their has to be a way to automate this process or at least speed it up a little. Any advice would be appreciated!