#134192 ssh: scp could be smarter about remote files

Package:
openssh-client
Source:
openssh
Description:
secure shell (SSH) client, for secure access to remote machines
Submitter:
John Dalbec
Date:
2010-01-15 12:57:08 UTC
Severity:
wishlist
#134192#5
Date:
2002-02-16 03:34:14 UTC
From:
To:
When I
scp file1 file2 file3 host:
I only have to type my password once.
When I
scp host:file1 host:file2 host:file3 .
I have to type my password three times.  Couldn't scp recognize that the three
files are on the same host and download them all with a single connection?

#134192#10
Date:
2002-04-05 23:03:20 UTC
From:
To:
I have experienced this problem often as well.

One way this could be solved would be a "source" and "destination"
option to be used as follows.

  scp --source='quinlan@host' file1 file2 file3 <local dir>

or to do the inverse:

  scp --destination='quinlan@host' here1 here2 here3 <remote dir>

or a combination of the two.

- Dan