[clug] scp

Tony Lewis tony at lewistribe.com
Thu Sep 7 10:35:14 UTC 2017

On 07/09/17 20:19, Scott Ferguson via linux wrote:
> On 07/09/17 20:11, Tony Lewis via linux wrote:
>> On 07/09/17 19:35, Eyal Lebedinsky via linux wrote:
>>> If I am a real paranoid (is this really a tilde?) then I would try
>>> $ scp -v Test.txt me at laptop
>> That will just do a normal copy to a local file named me at laptop
> ?
> If there is a user called me on $laptop, it'll fail (silently), because
> it'll 'try' to write to the root of $laptop, where "me" doesn't have
> write permissions... (?)

If it doesn't fit the pattern of a remote file, it creates a local file 
of the same name.  I suspect the pattern is something along the lines of

This is just my observation of behaviour.  I haven't looked into it.

More information about the linux mailing list