Heiko Bauke wrote:
>Hi,
>
>On Mon, 15 Aug 2005 22:25:51 -0700
>Jim Nell <James.Nell_at_[hidden]> wrote:
>
>
>
>>As root, I can go from any node to any other node in my cluster
>>without
>>password. Obviously I've done something right.
>>
>>As lamusr, I cannot go node to node, even though I followed the exact
>>same process as I did for setting up root. (ssh-keygen, append pub to
>>authorized_keys on client, blah).
>>
>>
>
>there are a lot of possible issues depending on the version of ssh. I
>guess that a setuid or setgid is missing. Current versions (e.g. 3.9) of
>ssh usually only need a setgid for ssh-agent.
>
>bauke_at_hal:~$ ls -l `which ssh-agent`
>-rwxr-sr-x 1 root ssh 56600 2005-03-15 14:09 /usr/bin/ssh-agent
>
>But see also http://www.openssh.com/faq.html#2.2
>
>
> Heiko
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
Try adding the following to your .profile/.bash_profile in the
machine(s) you use to login to other nodes.
It will start an ssh-agent when you login. To add your key just type
ssh-add.
SSHAGENT=/usr/bin/ssh-agent
SSHAGENTARGS="-s"
if [ -z "$SSH_AUTH_SOCK" -a -x "$SSHAGENT" ]; then
eval `$SSHAGENT $SSHAGENTARGS`
trap "kill $SSH_AGENT_PID" 0
fi
Konstantinos
|