* Pigeon (jah.pigeon@ukonline.co.uk) [030215 11:03]: > On Sat, Feb 15, 2003 at 11:28:12PM +0800, Sukanta Kumar Hazra wrote: > > Hi! > > > > copy th id_dsa key to .ssh/authorized_keys2 and make sure the > > permission mode is 600. ssh2 would work then. > > > > - Sukanta > > Thanks - but unfortunately, it doesn't. > > There was a previous thread on this, from Jan 19, containing similar > recommendations; apparently they worked for that poster, but not for me. > > Since protocol 1 is now working, I'm not too bothered about 2 not > working, but it would be nice to fix it purely on the grounds of not > liking to have broken stuff around especially when it works for > everyone else! I agree; it's no fun to just give up! It should work. Here's what I have on my laptop (which is what I carry around everywhere and is the local side of things): doozer:~% ssh -V OpenSSH_3.4p1 Debian 1:3.4p1-4, SSH protocols 1.5/2.0, OpenSSL 0x0090607f doozer:~% ls -la .ssh total 48 drwx------ 2 vineet vineet 4096 2003-01-17 17:22 ./ drwxr-xr-x 80 vineet vineet 4096 2003-02-15 12:28 ../ -r-------- 1 vineet vineet 963 2002-09-13 19:49 identity -rw-r--r-- 1 vineet vineet 29082 2003-02-14 11:30 known_hosts -rw-r--r-- 1 vineet vineet 15 2002-09-03 17:00 options doozer:~% head -4 .ssh/identity -----BEGIN RSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: DES-EDE3-CBC,99FDB9028C056429 doozer:~% cat .ssh/options ForwardX11 yes doozer:~% grep -v '^#' /etc/ssh/ssh_config That is, it's empty; there are no uncommented lines there. Also, I cat-ed .ssh/options just to show there's nothing special in there. The ForwardX11 statement is unrelated. So I did no setup on the client side, save generate an rsa key and put it at ~/.ssh/identity . Here's what I have on a remote host to which I can connect using my key: Thalia:~% ls -la .ssh total 10 drwx------ 2 vineet dba 512 Dec 3 15:35 ./ drwxr-xr-x 14 vineet other 1024 Feb 7 15:33 ../ -rw------- 1 vineet dba 236 Nov 26 11:31 authorized_keys -rw-r--r-- 1 vineet dba 1725 Feb 11 14:24 known_hosts Thalia:~% cat .ssh/authorized_keys ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEA3QejohPKVWiC5dgyhcX1R41j10gCDXXHKu0II3I1S54UbB3bOh1ugyyZKADFtbjWTAk2944Z/s0yfM5gIhxkr5QyDM0Lg86MijcZE76NTSa6YZ7hRDfrxGFjGh1CcUL7ZuL/82wCc+kUw1cu3EWdxoi78lxZUa62/aQRrYa4SE0= /home/vineet/.ssh/identity Thalia:~% ssh -V OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090607f Thalia:~% grep -i keyauth /usr/local/etc/sshd_config PubkeyAuthentication yes Hope that helps. I can send you the whole sshd_config (off list) if it would help. good times, Vineet -- http://www.doorstop.net/ -- "Extremism in the defense of liberty is no vice. Moderation in the pursuit of justice is no virtue." -- Barry Goldwater
Attachment:
pgpq9TrDzBF3g.pgp
Description: PGP signature