Re: ssh-copy-id vs PasswordAuthentication no

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On 12/9/21 10:21, Harald Dunkel wrote:
Hi folks,

to support "PasswordAuthentication no" it might be undesirable
to add new users with an initial password in /etc/passwd.

I wonder if it would be possible to support a "destination user"
option on the ssh-copy-id command line, e.g.

     ssh-copy-id -i somepath/id_ed25519.pub -u systemuser1 root@newhost

to add the pubkey to ~systemuser1/.ssh/authorized_keys on the
remote host?

This would be a RFE on the repository for the ssh-copy-id:

https://gitlab.com/phil_hands/ssh-copy-id/

There is already which asks for someething similar:

https://gitlab.com/phil_hands/ssh-copy-id/-/issues/3

Contributions would be certainly welcomed.

Regards,
--
Jakub Jelen
Crypto Team, Security Engineering
Red Hat, Inc.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux