Passwordless SSH authorization problem

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?

I don’t think it is related to ssh. Are you able to do mkdir when connected directly to that machine?

Problem solved.

The problem was the NFS option.

We used SuSE 10.2 when configuring previous clusters and to my knowledge it was set to ‘rw’(read-write) for default.

But I see SuSE 11.1 uses ‘ro’(read-only) for default.

I changed the ‘ro’ option to ‘rw’ and restarted the NFS daemon, and it works like wonder.

Good that you found the problem.