[PLUG] Fix scp issue: Permission denied (publickey)

Russell Senior russell at personaltelco.net
Fri Sep 28 22:43:07 UTC 2018


The splat is getting expanded by the shell, which is local. You want to
have the remote side expanded it, so put a \* instead of a *.

On Fri, Sep 28, 2018, 13:29 Rich Shepard <rshepard at appl-ecosys.com> wrote:

> On Fri, 28 Sep 2018, wes wrote:
>
> > This is backwards; the known_hosts file is updated during connection
> (when
> > it asks if you recognize the system and it makes you type "yes"). You
> need
> > to add the public key of the user (not system) you wish to allow to
> > connect to the current system to the authorized_keys file.
>
> Wes,
>
>    It's been a long time and I got this wrong.
>
> > More easily, you could just copy the authorized_keys file from the old
> > host to the new one.
>
>    I can do that and add the public key of the new host to the old one's
> authorized_key file.
>
> Thanks,
>
> Rich
> _______________________________________________
> PLUG mailing list
> PLUG at pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



More information about the PLUG mailing list