On 2020/01/20 10:59, Landry Breuil wrote:
> On Mon, Jan 20, 2020 at 08:50:05PM +1100, Antoine Jacoutot wrote:
> > Same for regular users from skel 
> 
> Ah, wasnt sure about it since i didnt find the corresponding commit, but
> thanks for confirming :)
> 
> 
> All that to say that 'ensuring that ~/.ssh and authorized_keys are
> created with correct permissions' shouldnt be the reason for porting
> ssh-copy-id - but only to actually copy the key.. :)
> 
> > > On 20 Jan 2020, at 19:29, Landry Breuil <lan...@openbsd.org> wrote:
> > > 
> > > 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
> > > 
> > 
> 

ssh-copy-id is for copying keys onto any random OS.

Reply via email to