Do not use ssh-agent to add public keys to authorized_keys file, it is
intended for something else. The easiest is to simply copy the public
key line in your local id_ed25519.pub to the authorized_keys file in
your remote hosts.

Please note that if your ssh is configured to use ssh v.1 protocol
instead of ssh v.2 the client (ssh) or server (sshd) will never look
for and use id_ed25519.

You should not need any other tools but command line, ssh-keygen (to
generate upblic/private key pairs) and ssh (to login to remote host) to
get this working. At this point I would not complicate things with
keyrings/ssh-agent. I recommend to get the basic ssh working first,
before playing with ssh-agent.
 
There is too much going on in this thread ... I will let you to catch
up.

Tomas

On Tue, 2016-11-08 at 13:36 -0800, Rich Shepard wrote:
> On Tue, 8 Nov 2016, Rich Shepard wrote:
> 
> >   The portable (typha) has id_ed25519 and id_ed25519.pub copied
> > from the
> > server (salmo) and authorized_keys has my public key from the
> > server
> > (salmo). When I try to connect from here to the server I get the
> > rejection
> > message, "Connection refused (publickey)." With extra verbosity on
> > the
> > command line I get the output included in the earlier message.
> 
>    More information.
> 
>    On the portable (typha) I tried adding my private key to ssh-agent
> using
> 'ssh-add .ssh/id_ed25519'. The response was that ssh "could not open
> a
> connection to your authentication agent."
> 
>    Typing 'ssh-agent' on the command line tells me that the socket
> and PID
> exist and are exported; the PID is 1245.
> 
>    Might this be why I cannot connect from the portable (as local
> host) to
> the server (as remote host) via ssh?
> 
> Thanks,
> 
> Rich
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to