I set-up a server-node cluster with OpenSuSE 11.1 on a pack of workstations and configured passwordless SSH.
I configured like following:
cd ~/.ssh
ssh-keygen -t rsa
cat id_rsa.pub >> authorized_keys
cat id_rsa.pub >> authorized_keys2
echo “StrictHostKeyChecking no” >> config
rm known_hosts*
chmod go-w ~
Since the server and nodes are configured with NFS and NIS, the passwordless SSH is working well
ex)
sinfire@Lit:~> ssh l01
Last login: xxxx from lit.yonsei.ac.kr
Have a lot of fun…
sinfire@l01:~>
The problem is whenever I try to write a file or directory from the node (in this case, l01), authority issues come to problem
ex)
sinfire@l01:~> mkdir tmp
mkdir: cannot create directory ‘tmp’: read-only file system
I think the problem is arising from the last line in ‘id_rsa.pub’, which is “[some random characters…]==sinfire@Lit”, but I have no idea how to change it.
Do I have to add the ids for the nodes like ‘sinfire@l??’ for the last line? If I do, what would be the exact syntax here?