While keychain works fine in bourne shells with solaris, in cshell it doesn
While keychain works fine in bourne shells with solaris, in cshell it doesn´t run. It shows a problem with the "setenv" command. Reproducible: Always Steps to Reproduce: 1.keychain .ssh/id_dsa 2. 3. Actual Results: With keychain 2.2.0 ------------------- KeyChain 2.2.0; http://www.gentoo.org/projects/keychain Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL * Warning: Se ha realizado el lock /usr/local/bin/keychain220: setenv: not found /usr/local/bin/keychain220: setenv: not found * Initializing /home/users/usuario/.keychain/camws3-sh file... * Initializing /home/users/usuario/.keychain/camws3-csh file... * Starting ssh-agent /usr/local/bin/keychain220: setenv: not found /usr/local/bin/keychain220: setenv: not found * Adding 1 key(s)... * Could not open a connection to your authentication agent. With keychain 2.3.0 ------------------- KeyChain 2.3.0; http://www.gentoo.org/projects/keychain Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL expr: syntax error * Initializing /home/users/usuario/.keychain/camws3-sh file... * Initializing /home/users/usuario/.keychain/camws3-csh file... * Starting ssh-agent /usr/local/bin/keychain230: setenv: not found /usr/local/bin/keychain230: setenv: not found * Adding 1 key(s)... * Could not open a connection to your authentication agent. In both situations I obtain a machinename-csh file: setenv setenv Solaris 8 and 9 in sparc sshd version OpenSSH_3.8p1
Yowsers! Would you mind running the script like this: % /bin/sh $ /bin/sh -x /usr/local/bin/keychain230 >keychain230.out 2>&1 then attach the output to this bug (i.e. "create an attachment", don't paste the file into a comment). Note you will need to run bourne shell as I demonstrated above instead of running directly from csh so that you can redirect both stdout and stderr. Thanks!
Created attachment 32616 [details] FreeBSD 5.2.1 tcsh error output for keychain 2.3.0 -csh environment file not written completely
Thanks Jerry. I see the problem and have fixed it. New version 2.3.1 at http://dev.gentoo.org/~agriffis/keychain/ (You might need to reload the page)