On Fri, 24 Feb 2017, King Beowulf wrote:

> for ssh or scp (cp over ssh), you only need one pub key for the
> connection to work.  NOT the ones in /etc/ssh.  One of the ones in ~/.ssh

Ed,

   Here's what I've done; there's still something left for me to do.

   On laptop:

   1) ssh-keygen (using same passphrase as on other hosts).
   2) ssh-add
   3) tried ssh-copy-id to desktop but was denied.
   4) copied ~/.ssh/id_ed25519.pub to thumb drive.
   5) added desktop's ~/.ssh/id_25519.pub to laptop's ~/.ssh/known_hosts.

   On desktop:

   1) added laptop's ~/.ssh/id_ed25519.pub to ~/.ssh/known_hosts.

> cat laptop_key.pub > ~/.ssh/authorized_keys

   Now I'm confused about what should be in each host's
~/.ssh/authorized_keys and ~/.ssh/known_hosts.

   Do the id_ed25519.pub files from one host belong in the authorized_keys
files on other hoste? If so, what goes in the known_hosts file in each host?

Getting there,

Rich
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to