Re: RSA & DSA Authentication - need help
From: Pascal J.Bourguignon (pjb_at_informatimago.com)
Date: 02/14/04
- Previous message: Carl Holtje: "Re: UsersDeny except root@myserver"
- In reply to: Greg Wooledge: "Re: RSA & DSA Authentication - need help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 14 Feb 2004 13:55:13 +0100 To: Dusty Culler <dustyculler@yahoo.com>, secureshell@securityfocus.com
> On Thu, Feb 12, 2004 at 10:47:28AM -0800, Dusty Culler wrote:
> > server:
> > login as myuser
> > cd .ssh
> > cat *.pub >> authorized_keys
>
> > For some reason I still get prompted for a password.
The reason is that it's not the pub key of myuser that you must put in
authorized_keys, but the pub key of the user that will connect to thys
myuser account!
The correct commands are:
login as localuser
cd .ssh
cat id_*.pub | ssh myuser@remotehost 'cat >> authorized_keys2'
cat identity.pub | ssh myuser@remotehost 'cat >> authorized_keys'
then you can do:
ssh myuser@remotehost
without having to type myuser's password.
-- __Pascal_Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he doesn't want merely because you think it would be good for him.--Robert Heinlein http://www.theadvocates.org/
- Previous message: Carl Holtje: "Re: UsersDeny except root@myserver"
- In reply to: Greg Wooledge: "Re: RSA & DSA Authentication - need help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|