On Fri, Jul 10, 2020 at 08:36:03PM -0400, Walter Dnes wrote
> 
> The question is how did .ssh/config ever get there in the first place?

  Would the following activity trigger creation of .ssh/config ??

* at the end of the Gentoo minimal install I rebooted
* oops; can't do passwordless ssh in to root (the only account)
* walked over to laptop; tweaked sshd_config to allow root login via
  password (I'm behind a NATting router); and restarted sshd
* ssh into laptop and ran ssh-keygen
* walked back to desktop and pushed .ssh/id_rsa.pub from desktop root
  and waltdnes accounts to .ssh/authorized_keys on laptop
* confirmed that desktop could do passwordless ssh to laptop
* walked over to laptop; tweaked sshd_config to forbid root login via
  password; and restarted sshd

-- 
Walter Dnes <[email protected]>
I don't run "desktop environments"; I run useful applications

Reply via email to