Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | pka passphrase not working |
|---|---|
| Date: | Mon, 13 Mar 2006 13:45:22 -0500 |
Hello, i am using openssh 4.3 Connecting raw to the server i get this header "SSH-1.5-OpenSSH_4.3" I built from source using the default options; configure, make and make install. The following is my sshd_config: Port 22 Protocol 2,1 HostKey /usr/local/etc/ssh_host_key StrictModes yes MaxAuthTries 6 RSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys PasswordAuthentication no PermitEmptyPasswords no UseLogin no UsePrivilegeSeparation yes PermitUserEnvironment no My goal using this config mainly is to have it so a user must have a copy of the private key, and their public key must be in the authorized_keys file for that user. What i would also like to do is have a passphrase for the private key. When i do so with ssh-keygen, sshd wont load. a "cant load key" type of message is given. Secondly, if the user has the private key, and their public key is in the authorized_key file, i would like sshd to then further authenticate with the users local password. How can i make it so that PKA, passphrase and password authentication both take place? Currently with this config, when the user connects, the client tries PKA. if successful, they are dropped to a shell. If PKA is not successful, they are given a password prompt, to which the correct user password does not succeed. I want to add a passphrase, and also require password authentication following the PKA. I created my public/private keys using this: ssh-keygen -t rsa1 -f /usr/local/etc/ssh_host_key -N "passphrase" However, adding a passphrase to the private key causes sshd's failure to load. Leaving it null causes sshd to load.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Limit certain login to home folder, Jon R. Kibler |
|---|---|
| Next by Date: | Can SSH emulate SCO-ANSI ?, Marcelo F Gacitua |
| Previous by Thread: | Null-passphrase vs ssh-agent, Gian G. Spicuzza |
| Next by Thread: | Can SSH emulate SCO-ANSI ?, Marcelo F Gacitua |
| Indexes: | [Date] [Thread] [Top] [All Lists] |