[clug] scp

Scott Ferguson scott.ferguson.clug at gmail.com
Thu Sep 7 11:01:49 UTC 2017



On 07/09/17 20:35, Tony Lewis via linux wrote:
> 
> 
> 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... (?)

Scratch my comment about trying to write to the root, I've since
received Eyal's post about the missing :

I 'assumed' you'd meant "$ scp -v Test.txt me@$laptop"

> 
> If it doesn't fit the pattern of a remote file, it creates a local file
> of the same name.  

! Interesting.

> I suspect the pattern is something along the lines of
> [<user>]@<host>:[<path>]

It seems, any valid characters for a file/directory/path
> 
> This is just my observation of behaviour.  I haven't looked into it.
> 
> 

Kind regards

-- 
    A: Because we read from top to bottom, left to right.
    Q: Why should I start my reply below the quoted text?

    A: Because it messes up the order in which people normally read text.
    Q: Why is top-posting such a bad thing?

    A: The lost context.
    Q: What makes top-posted replies harder to read than bottom-posted?

    A: Yes.
    Q: Should I trim down the quoted part of an email to which I'm reply

http://www.idallen.com/topposting.html



More information about the linux mailing list