summaryrefslogtreecommitdiff
path: root/setup-sshd.in
AgeCommit message (Collapse)Author
2022-05-24setup-sshd: fix backwards compat with -cNatanael Copa
Do not enter interactive mode if -c was set, for backwards compatiblity.
2022-05-23setup-sshd: fix root login without ssh keyNatanael Copa
2022-05-21setup-sshd: dont ask for root login if user was createdNatanael Copa
Don't ask about root login if a user account was created
2022-05-21setup-sshd: refactorNatanael Copa
Ask for ssh key in separate question unless PermitRootLogin was set to no.
2022-05-21setup-sshd: improve openssh configurationNatanael Copa
Add a '?' option for help Add magic keywords 'al|gh|gl <user>' to suggest gitlab.alpinelinux.org, github.com or gitlab.com URL to user's key. This is to conveniently fetch ssh keys without needing to type long URLs.
2022-05-21setup-sshd: fix promptsNatanael Copa
Use 'ssh' in lowercase consistently Fix duplicate [prohibit-password]
2022-05-19setup-sshd: use fake rc-service/update for testingNatanael Copa
2022-05-19setup-sshd: make test use the fake wgetNatanael Copa
2022-05-12setup-sshd: print usage on invalid optionNatanael Copa
2022-05-11setup-sshd: prefix sshd_config with $ROOTNatanael Copa
So we can run tests
2022-05-11setup-sshd: mock fetching ssh keyNatanael Copa
and improve error message a bit
2022-05-11setup-sshd: dont ask for root logins if key is givenNatanael Copa
2022-05-11setup-sshd: make it possible to do unit testingNatanael Copa
2022-05-11setup-sshd: take ssh implementation as arg instead of -c optionNatanael Copa
This is similar to what we do on other setup-* scripts. Keep the -c for backwards compat for now.
2022-05-10setup-sshd: ask for allow root loginsNatanael Copa
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10504
2022-03-16fix PREFIX in *.inNick Hanley
Commit ec0c7a7 changed the sed expression for PREFIX injection but forgot to update the scripts.
2021-11-17setup-sshd: use SSH_KEY instead of prompt userNatanael Copa
Do not ask user for ssh key, but support the use of SSH_KEY env var.
2021-11-17setup-sshd: Ask for authorized key for rootLukas Bestle
Fixes #10459.
2021-01-08setup-sshd: improve error handlingNatanael Copa
repeat the question til we get a valid answer
2016-11-02indent heredocs and replace echos with heredoc where appropriateJakub Jirutka
2016-11-02fix mixed tabs & spaces and surplus empty lines at EOFJakub Jirutka
2014-04-23fix permissionsNatanael Copa
2011-10-28setup-sshd: minor tweaking of promptNatanael Copa
2011-10-06setup-sshd: clean up code a bitNatanael Copa
2011-08-05setup-sshd: cleanups and add command line optionsJeff Bilyk
2011-07-31setup-sshd: add dropbear supportJeff Bilyk
2011-07-31setup-{apklbu, bootable, chrony, sshd}: replace double equals in if ↵Jeff Bilyk
statements with single equals
2011-07-16setup-sshd: new script for setting up sshdJeff Bilyk