[Bug 1989] SCP wihout a source path

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Mar 9 10:05:39 EST 2012


https://bugzilla.mindrot.org/show_bug.cgi?id=1989

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Damien Miller <djm at mindrot.org> 2012-03-09 10:05:39 EST ---
No, this is not a bug.

The path after : is optional, with the default being the remote user's
home directory. Consider "scp blah.txt user at host:"

For the case of "scp -prv user at remotehost: /path/to/copy .", it's doing
exactly what you tell it: copying user at remotehost's home directory as
well as /path/to/copy to your local home directory.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list