On Saturday 13 September 2003 12:38 pm, Net Llama! wrote:
I've setup & used ssh public keys many times before. All of a sudden, i can't get it to work at all. It works on the boxes where i've set it up in the past, but new ones just fail to work.
The servers are all RH-7.3. I thought that all that was required was: 0) on the client box, run "ssh-keygen -t dsa", hit enter at all the prompts, and i'll end up with ~/.ssh/id_dsa.pub. 1) I then need to place the contents of that file on the server in ~/.ssh/authorized_keys. 2) ssh to the server, and i shouldn't be prompted for a password.
this isn't happening. i'm still prompted for a password. am i missing something obvious?
That's all I've ever done but two things to think about:
1) It seems the filename of the auth file changes from time to time. But it probably has to do with the release of openssh. Right now in my ~/.ssh I have both an authorized_keys file and an authorized_keys2 file.
Tried that, no change.
2) Edit your dsa file and look at the very end of the record. You might have a <[EMAIL PROTECTED]> at the end. You can remove the whole thing I think or at least the @hostname part.
Tried that too, no change. urgl
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ L. Friedman [EMAIL PROTECTED] Linux Step-by-step & TyGeMo: http://netllama.ipfox.com
12:20pm up 18:49, 2 users, load average: 0.02, 0.06, 0.01
_______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
