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: | public key authentication problem |
|---|---|
| Date: | Tue, 16 Oct 2007 13:06:11 +0200 |
Hello, I'm trying to use public key authentication for ssh, but still unsuccessfully. The ssh host -vvv gives following output ... debug1: Authentications that can continue: publickey,password,keyboard-interactive debug3: start over, passed a different list publickey,password,keyboard-interactive debug3: preferred publickey,keyboard-interactive,password debug3: authmethod_lookup publickey debug3: remaining preferred: keyboard-interactive,password debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Offering public key: /home/jkaspar/.ssh/id_rsa debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Offering public key: /home/jkaspar/.ssh/id_dsa debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,password,keyboard-interactive debug2: we did not send a packet, disable method ... debug1: Next authentication method: password jkaspar@host's password: I've generated the public key files by ssh-keygen -t dsa ssh-keygen -t rsa and moved them to the server side by ssh-copy-id host I checked (on server) ~/.ssh/authorized_keys and that file does contain the keys. Permissions are set drwxr--r-- 2 jkaspar zj 4096 Oct 16 10:38 .ssh -rw-r--r-- 1 jkaspar zj 1667 Oct 16 09:58 authorized_keys I'm sure the server runs sshd with RSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys Client runs OpenSSH_4.7p1 (ArchLinux), server runs OpenSSH_4.3p2- 4.cern-hpn (CERN Linux 4). I'd be very grateful for any help. Thank you in advance, Jan. -- My web page: http://cern.ch/jkaspar/ My cell phone: +4176 206 5932
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: SSH command in windows, John Hall |
|---|---|
| Next by Date: | Re: Example of Layer 3 VPN tunneling with openssh, Kevin Wilcox |
| Previous by Thread: | Sending "none" authentication request to the SSH server., Tjeu |
| Next by Thread: | Re: public key authentication problem, Greg Wooledge |
| Indexes: | [Date] [Thread] [Top] [All Lists] |