Kyle R . Burton on Mon, 17 Sep 2001 20:50:23 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] SSH question


> I have what I hope is a quick SSH question, and I can't seem to decipher the
> man pages properly. :-)
> 
> I want my SSH daemon to ask me for a passphrase when I connect. If I give it
> the correct passphrase, I want it to then ask me for the ID and password to
> use on the remote system.
> 
> Now, I did generate a keypair (using ssh-keygen), and I did use the "-P
> passphrase" option. However, when I connect to that host using my SSH
> client, it never asks me for the passphrase - only the remote ID and
> password.
> 
> What am I doing wrong? I looked thru the sshd_config, and do have

You have to put the public part of your key up on the remote box and,
depending on the version of ssh, add that key to your authorized_keys or
authorized_keys2 file.  

Also make sure everything in your .ssh directory (and the directory itself) 
are only read/write/executeable by you and only you.


Kyle



-- 

------------------------------------------------------------------------------
If you do not get it from yourself,
where will you go for it?
        Zen Saying
mortis@voicenet.com                            http://www.voicenet.com/~mortis
------------------------------------------------------------------------------


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug