[lug] OpenSSH

Michael J. Pedersen marvin at keepthetouch.org
Tue Jan 30 23:29:45 MST 2001


On Tue, Jan 30, 2001 at 06:30:12PM -0700, D. Stimits wrote:
> User "x" on both machines ran ssh-keygen, without a pass phrase. This
> generated ~/.ssh/, with files identity, identity.pub on each machine. On
> machine B I wasn't sure about how to add authorized keys, and made some
> guesses, creating directory ~/.ssh/authorized_keys/. Within that
> directory I placed the relevant identity.pub of user "x" of machine A.

Actually, this is where the failure occurred (sorry if this is already
answered, I just got home to answer it):

~/.ssh/authorized keys is a file, not a directory. identity.pub is a text
file. Simply appending identity.pub to ~/.ssh/authorized_keys should fix
things almost entirely.


The known_hosts you mentioned is determined on pretty much a user basis (from
what I've seen and done, anyway). Answering yes the first time will have it
avoid telling you anything about it in the future.

-- 
Michael J. Pedersen
My GnuPG KeyID: 4E724A60        My Public Key Available At: wwwkeys.pgp.net
My GnuPG Key Fingerprint: C31C 7E90 5992 9E5E 9A02 233D D8DD 985E 4E72 4A60
GnuPG available at http://www.gnupg.org



More information about the LUG mailing list