Keychain 2.4.0 on Solaris 9 using supplied Sun SSH 1.01 Always asks for key passphrase. ssh-add -l returns a slightly different format: nbardsley@mojapp2 ~ $ ssh-add -l md5 1024 4f:48:01:9e:fd:16:d4:e4:f5:14:18:fc:8e:95:f5:64 /data/users/nbardsley/.ssh/id_dsa(DSA) (output with set -xv available if needed.) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 39670 [details] debugging output keychain 2.4.0 & Solaris 9 sparc
This bit of sed pulls out the fingerprint in Solaris, RH7.3, and cygwin ...| sed 's/.* \(\<[a-f0-9]\{2\}:[a-f0-9:]*\>\) .*/\1/' | xargs Maybe it's more useful than testing what kind of ssh is being used?
Created attachment 39680 [details] testing version of keychain-2.4.1 Thanks for the sed suggestion. It makes me a little nervous because I'm pretty sure I've run across seds out there on which \{2\} wouldn't work. Also, since .* is greedy, it could get fouled up with openssh which reports relative instead of absolute paths. If the path were to start with af: or something silly like that, it would get the wrong thing. Unlikely, I know, but I'm going for bulletproofness. Finally, we need to know it's $sunssh later in the code anyway, for example to set the timeout correctly. I think the reason it didn't work for you was because I didn't complete the changes. Here is another testing version for you. If this version doesn't work, then I'll need to see the output of one more command: ssh-keygen -l -f $HOME/.ssh/id_dsa.pub Thanks, I appreciate all the debugging info you've provided.
Created attachment 39703 [details] debugging output keychain 2.4.1-test2
The keygen output is at the end of the previous attachment. Re: sed, absolutely, I just didn't want to be the one to turn keychain into a whole bunch of case statements. :)
Created attachment 39972 [details] testing version of keychain-2.4.1 (try 2) Nathan, sorry for the long delay, was off hiking this weekend. Here is another version for you to test. Thanks for the debugging output.
Thanks again for putting so much time into supporting a platform you don't use! This one seems to be working well on one server. I'm seeing this error message "* Warning: /data/users/nbardsley/.ssh/id_dsa.pub missing; can't tell if /data/users/nbardsley/.ssh/id_dsa is loaded" for the first time. The public key isn't on that box so it's legitimate. I need to distribute the pubkey and try some stuff, but looks good so far!
Fixed in keychain 2.4.1, now on the website. Thanks for all your help, Nathan.