usually you do this:
% cat .ssh/config
Host bla+fwd
Hostname bla
LocalForward ....
and
% scp file bla:/tmp
works fine.
if you want to have forwards, explicitly say:
% ssh bla+fwd
-m
On Wed, Aug 23, 2000 at 11:50:50AM +0200, Slawek Zak
wrote:> Hi,
>
> What do you think of disabling port forwardings configured in
> ~/.ssh/config with scp. Copying of files is shorter or longer but
> still only temporary process. Moreover, when you have one session
> opened and used for "real" forwardings, you can't use scp for
the
> remote host, as the forwardings can't be established again (ports are
> busy).
>
> /S
>