ssh to target, scp back to source in same session without name resolution

Peter Stuge stuge-openssh-unix-dev at cdy.org
Wed Apr 13 09:02:27 EST 2005


On Tue, Apr 12, 2005 at 08:43:23PM +0200, lars wrote:
> I ssh to the target host on the internet,
> look for and find these files/directories
> (but I don't want to open a second session for scp and
> I can't resolve the name of my source host behind the firewall),
> and then I'd like to copy those files back to my source host,
> within the same encrypted session.
> 
> Do you understand what I mean?
> 
> I don't think this is possible at the moment,
> unless I haven't read the manual well enough.

Should be possible using connection sharing. See -S in ssh(1) and
ControlMaster/ControlPath in ssh_config(5) and check mailing list
archive the last few months.


//Peter




More information about the openssh-unix-dev mailing list