Add option --sshcopyid to authorise root login
authorDarshaka Pathirana <dpat@syn-net.org>
Sat, 2 Mar 2019 02:35:02 +0000 (03:35 +0100)
committerDarshaka Pathirana <dpat@syn-net.org>
Sat, 2 Mar 2019 03:20:53 +0000 (04:20 +0100)
commit0b1d9821475753d8580982724b807cc8f2daa7e5
treed8ebee58876dc0b9f3dc2275120efc79c0788a8f
parent4f2362b014a02a67e39994c7000e608b438b9b08
Add option --sshcopyid to authorise root login

Use locally available public keys to authorise root login on the target
system.

Similar to ssh-copy-id(1) (without the -i option) it checks if `ssh-add
-L` provides any output, and if so those keys are appended to
`/root/.ssh/authorized_keys`.

Closes: grml/grml-debootstrap#128
grml-debootstrap
grml-debootstrap.8.txt