public key authentication

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all. I'm attempting to set up public key authentcation, however I think I am missing something. I generated the keypair by running ssh-keygen -b 2048 -t dsa. I then wrote the resulting 
identity.pub file to /root/.ssh/authorized_keys, which is where I am storing the file so no other users can play with it. I then restarted sshd, and tried connecting to localhost under my user 
account to see if it would properly authenticate. I got as far as the prompt for the passphrase of the private key. Once I entered that, I got a "permission denied message." I did make sure I 
was entering the correct passphrase. Should I perhaps regenerate the keys, or am I forgetting something? Thanks!
- -- 
Failure is not an option, it comes bundled with your Microsoft product.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAwi2ANohoaf1zXJMRApQDAJ4uoTt8yE5W0xHMfwmm5snpwdWxBQCfa5Ui
zKsjJmtgiE7VwNaj9Cdf/9g=
=HR60
-----END PGP SIGNATURE-----




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux