[clug] scp

Scott Ferguson scott.ferguson.clug at gmail.com
Thu Sep 7 10:19:35 UTC 2017

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... (?)

i.e. needs to be "scp $laptop:/home/$username/$somewhere" or "scp

if "me" is the same user name on $laptop as $tower it's redundant... as
scp and ssh etc assume the login uses the same name as the person
running the command if it's not given on the command line.

Note that the error output described the problem - Brian hasn't
generated an ssh key, so the key copy fails.

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


More information about the linux mailing list