-   Linux - Networking (
-   -   need help with no password ssh and ssh-agent (

hedpe 02-08-2007 08:34 PM

need help with no password ssh and ssh-agent
Hey all,

I've looked at like 5 different guides for no password ssh and they all say the same thing... and I've done this over and over and can't get it.

First I create my id_dsa:

ssh-keygen -t dsa
Then I scp it over to the server machine, and append it to ~/.ssh/authorized_keys

Now when I try to ssh, it asks me for the passphrase for ~/.ssh/id_dsa and logs me in without ever asking me for the ssh password also.

Now I want it to not ask me for the id_dsa password... guides are telling me to use ssh-agent, however:

bash-2.05b$ ssh-agent /usr1/gnychis/.ssh/id_dsa
/usr1/gnychis/.ssh/id_dsa: Permission denied
bash-2.05b$ ls -la /usr1/gnychis/.ssh/ | grep id_dsa
-rw-------    1 gnychis  users        736 Feb  8 20:18 id_dsa
bash-2.05b$ whoami

I can't figure this out, this is happening on *all* of my machines.

Any clues? I have root on the client machines, but not on the server machine.


Emerson 02-08-2007 09:19 PM

Has this ssh-agent SUID bit set?

hedpe 02-08-2007 09:39 PM

i have no clue what you mean, sorry... can you elaborate?

Emerson 02-08-2007 09:49 PM

SUID - set user ID
If this bit is set executable will not run with your user rights.


All times are GMT -5. The time now is 03:53 PM.