[CentOS] scp scripting question

m.roth at 5-cent.us m.roth at 5-cent.us
Fri Oct 12 13:44:54 EDT 2012


So, my manager, in zsh, can do the following:
scp -i =(ssh -qnx <snip> cat /etc/ks/ks_dsa) localfile server:/whereitgoes

Does anyone have any ideas what the syntax in bash is? I've been playing
with this for hours. My manager says that zsh treats the cat'd key as a
file, while if you try it with bash, replacing the = with <, it asks for
the passphrase of what must be a socket.

      mark



More information about the CentOS mailing list