scp fails when two remote files are copied to local directory

Bug #395096 reported by anonymous
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Command: scp host:/somepath/remotefile1 host:/somepath/remotefile2 localdirectory

copies the first file 'remotefile1' to local directory properly, however, it fails to copy the second file 'remotefile2' to local directory and reports error: "scp: Error: remotefile2path : No such file or directory."

However, when I try to copy the files seperately using two commands,
scp host:/somepath/remotefile1 localdirectory
scp host:/somepath/remotefile2 localdirectory

it works fine and copies both files.

Can anyone please give clue if the problem has been fixed in some version?

Philip Muškovac (yofel)
affects: ubuntu → openssh (Ubuntu)
Revision history for this message
Chuck Short (zulcss) wrote :

I dont think this will work because scp is a 1:1 ratio.

Regards
chuck

Changed in openssh (Ubuntu):
importance: Undecided → Low
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.