Here is a rerun of a message to oe@ about 3.5.2; the same issue seems to exist in 3.5.3
The solution here was tested under 3.5.2.
the hooks for ssh-agent in /etc/init.d/opie do not seem to work.
I am using openssh
The first problem seems to be that gpe forks and exits so the call
ssh-agent does not really do anything. The second is that openssh
needs DISPLAY set, before it looks at SSH_ASKPASS.
I modified the relevant lines of /etc/init.d/opie as follows
if [ -x "$OPIEDIR/bin/opie-sh-ssh-askpass.sh" ]; then
export SSH_ASKPASS=$OPIEDIR/bin/opie-sh-ssh-askpass.sh
export DISPLAY=dummy
fi
echo Starting Opie....
eval `$SSHAGENT`
$OPIEDIR/bin/qpe -terminal 2
This is not really correct of course, since it will leave extra
ssh-agent process running if opie is restarted. On the other hand,
with this modification, opie-sshkeys actually works
Can someone suggest a better fix for starting ssh-agent? Is there a
way of having qpe not daemonize itself?