I'm trying to make ssh ask me for a passphrase when I slogin to another machine, instead of asking me for my password on that machine. With no luck.
It always asks me for my password. If I modify /etc/ssh_config to set password authentication to "no", then slogin simply fails without asking me for anything. Now, I used Cygwin's ssh-keygen (-t dsa) to generate a ~/.ssh/id_dsa and .pub pair. The id_dsa file starts off: -----BEGIN DSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: DES-EDE3-CBC,A40CC4090416489F Which generates this error in slogin: : /home/luke ; slogin -v -v -v nevin OpenSSH_3.6.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090702f debug1: Reading configuration data /etc/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug2: ssh_connect: needpriv 0 debug1: Connecting to nevin [10.2.1.9] port 22. debug1: Connection established. debug1: identity file /home/luke/.ssh/identity type 0 debug1: identity file /home/luke/.ssh/id_rsa type -1 debug3: Not a RSA1 key file /home/luke/.ssh/id_dsa. debug2: key_type_from_name: unknown key type '-----BEGIN' debug3: key_read: missing keytype debug2: key_type_from_name: unknown key type 'Proc-Type:' debug3: key_read: missing keytype debug2: key_type_from_name: unknown key type 'DEK-Info:' debug3: key_read: missing keytype debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug2: key_type_from_name: unknown key type '-----END' debug3: key_read: missing keytype debug1: identity file /home/luke/.ssh/id_dsa type 2 But is that simply ssh trying to interpret id_dsa as an RSA key, giving up, then trying to intrepret it as a DSA key? Anyway, any idea why ssh won't ask me for my passphrase? I discovered that you can't strace slogin, either. Any idea how to diagnose what's going on? luke -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/