On Wed, Dec 18, 2013 at 2:37 AM, Mike Miller <mbmiller+l at gmail.com> wrote:
> Thanks for the great tips, Jay.  Unfortunately, I'm trying to make a script
> that I can share with users who probably won't be interested in editing
> their config files.  I might be able to use some of your ideas in some way
> in other work, though.
>

If you are scripting it and cant or dont want to edit the config file
directly, remember that you can pass config file options on the
commandline, with -o.   So you could do something like this:

scp -o 'ProxyCommand=ssh machineB /usr/bin/nc machineA 22' $*

Jay