bip1:/tmp/keychain-2.5.1# ./keychain --nocolor --nogui /root/.ssh/id_dsa ./keychain: 471: Syntax error: "!" unexpected bip1:/tmp/keychain-2.5.1# uname -a BIG-IP bip1 BIG-IP 4.5.10 BIG-IP Kernel 4.5.10 Build84 i386 More details coming shortly. Reproducible: Always Steps to Reproduce: 1. 2. 3.
bip1:~# /bin/sh - \h:\w# set NFAST_SERVER_SYSLOG=daemon MACHTYPE=i386-pc-bsdi4.1 USER=root HOSTNAME=bip1 SHLVL=1 LD_LIBRARY_PATH=/shlib HOME=/root PAGER=less PS1=\h:\w# OPTIND=1 PS2=> LOGNAME=root _=/bin/sh OPENSSL_CONF=/config/bigconfig/openssl.conf TERM=vt100 BLOCKSIZE=1024 HISTCONTROL=ignoreboth RANDFILE=/var/run/openssl_randfile PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/contrib/bin:/usr/contrib/sbin:/usr/local/bin:/usr/local/sbin:/usr/libexec CDPATH=.:..:/:~:/usr:/var SHELL=/bin/bash NFAST_SERVERLOGLEVEL=serious IFS= OSTYPE=bsdi4.1 PWD=/root HOSTTYPE=i386
Using /bin/bash works as you might expect. I'll try to figure out the limits of this /bin/sh next week if there's any interest in making it work, else you can just close this bug. --Nathan
Created attachment 50747 [details] keychain_2.5.1_test1 *sigh* I wondered if there would be a bourne shell out there that would choke on that. :-( Does the attached testing version solve the problem?
Nathan, could you test my proposed fix please?
I will, but I don't think I'll be able to this week. --Nathank
Nathan, I released the fix in keychain-2.5.3.1. I think it works, so I'm closing this bug. Please re-open if the fix doesn't work for you.