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

Bob Proulx bob at proulx.com
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
  ls
  cd other/dir
  ls
  get

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.

Bob




More information about the openssh-unix-dev mailing list