Red Hat Bugzilla – Bug 174262
keychain breaks scp, opt-in inconsistency with zsh, 2.6.1 available
Last modified: 2007-11-30 17:11:18 EST
Bunch of issues here:
1) I was finally bitten by the "keychain breaks scp" issue I had vaguely
On a box with FE keychain installed, opt-in enable some user who has bash or
csh as the shell and some SSH keys that require passphrases, and ensure his
ssh-agent/keychain stuff is NOT active ("keychain --stop all"). Then, try to
scp something from another box to that account: doesn't work, the _remote_ end
starts prompting for passphrases.
2) The opt-in stuff in ~/.keychainrc doesn't work as advertised because zsh
treats the args differently from other shells (foo="foo bar"; echo $foo #
results in one argument "foo bar" passed to echo, not "foo" and "bar").
3) The opt-in mechanism seems to Just Work out of the box without any special
tricks with zsh (maybe in >= 4.2.0-3), so README.Fedora should be updated.
4) 2.6.1 is out.
I took the liberty of fixing all of the above as well as other couple of
cosmetic issues, patches attached. Tested on FC4 with bash, pdksh, zsh and
tcsh, and basic idea additionally with ash and FreeBSD's and Solaris' /bin/sh.
Do you mind if I commit this for FC4 and later? (I don't have a FC3 box to
Created attachment 121510 [details]
Fixes for keychain specfile and scripts
Created attachment 121511 [details]
Updated manpage patch (will also send upstream)
thanks for spotting 1) especially and the zsh related situation.
Please, feel free to update the FE package with current upstream version 2.6.1,
along with your patches. Reviewed those 2 report attachments and they look - as
usual work by you - fine.
Ok, 2.6.1-1.* submitted and built for FC-4 and devel, will be in the next push.