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

Bob Proulx bob at
Thu Apr 14 02:51:11 EST 2005

Bob Proulx wrote:
> lars wrote:
> > "Problem":
> > I'm behind a firewall with my source host,
> > I don't know the name or location of some files/directories on the 
> > target host,

A second suggestion.  Use the 'sftp' interface.

  sftp host
  cd some/dir
  cd other/dir

If I don't really know the name of the file and also do not have an
agent running this allows me to start one connection, authenticate
once, and then browse and cherry-pick files.


More information about the openssh-unix-dev mailing list