Refactor new --sshcopyid behavior into separate cmdline option --sshcopyauth mika/gh153
authorMichael Prokop <mika@grml.org>
Wed, 3 Jun 2020 12:16:08 +0000 (14:16 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 3 Jun 2020 14:38:14 +0000 (16:38 +0200)
commit3865f3eeb7510ee90c03f65b1b1ae85d731b4600
treee9e9c748919bceb31778298eea600b8493a76ab9
parent64250ae43bc04872dff70f971d6cb04bb6056ca7
Refactor new --sshcopyid behavior into separate cmdline option --sshcopyauth

Related to commit 07e835eac7 and the discussion within
https://github.com/grml/grml-debootstrap/pull/153

If execution of --sshcopyid fails, then user might want to be aware of
it. So instead of implementing the copying of .ssh/authorized_keys as
fallback of --sshcopyid, let's provide it via cmdline option
--sshcopyauth.

Reviewed-by: Chris Hofstaedtler
Reviewed-by: Darshaka Pathirana
Closes: https://github.com/grml/grml-debootstrap/pull/153
grml-debootstrap
grml-debootstrap.8.txt