Re: scp scripting question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Oct 12, 2012, at 1:44 PM, <m.roth@xxxxxxxxx<mailto:m.roth@xxxxxxxxx>>
 <m.roth@xxxxxxxxx<mailto:m.roth@xxxxxxxxx>> wrote:

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


The document http://zsh.sourceforge.net/Intro/intro_7.html

has some description about =(…)

Not a zsh user myself

Ton Schreiner

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux