On Tue, Jan 14, 2020 at 09:47:11AM +0100, Jan-Piet Mens wrote: > ssh-copy-id [1] is a script to copy one's SSH keys to remote hosts, ensuring > that ~/.ssh and authorized_keys are created with correct permissions. The > script uses ssh(1) to log into a remote machine (using a login password).
Fwiw, on OpenBSD ~/.ssh and authorized_keys are created with correct permissions by default, at least for user root... https://marc.info/?l=openbsd-cvs&m=148688978308030&w=2