Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-12 | setup-sshd, setup-user: follow openssh permission recommendations | Nick Hanley | |
From the OpenSSH man page: > ~/.ssh/ > ... > There is no general requirement to keep the entire contents of this > directory secret, but the recommended permissions are > read/write/execute for the user, and not accessible by others. > > ~/.ssh/authorized_keys > ... > This file is not highly sensitive, but the recommended permissions are > read/write for the user, and not accessible by others. OpenSSH follows these recommendations when creating these files itself so we should do the same. | |||
2022-05-24 | setup-sshd: fix backwards compat with -c | Natanael Copa | |
Do not enter interactive mode if -c was set, for backwards compatiblity. | |||
2022-05-23 | setup-sshd: fix root login without ssh key | Natanael Copa | |
2022-05-21 | setup-sshd: dont ask for root login if user was created | Natanael Copa | |
Don't ask about root login if a user account was created | |||
2022-05-21 | setup-sshd: refactor | Natanael Copa | |
Ask for ssh key in separate question unless PermitRootLogin was set to no. | |||
2022-05-21 | setup-sshd: improve openssh configuration | Natanael 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-21 | setup-sshd: fix prompts | Natanael Copa | |
Use 'ssh' in lowercase consistently Fix duplicate [prohibit-password] | |||
2022-05-19 | setup-sshd: use fake rc-service/update for testing | Natanael Copa | |
2022-05-19 | setup-sshd: make test use the fake wget | Natanael Copa | |
2022-05-12 | setup-sshd: print usage on invalid option | Natanael Copa | |
2022-05-11 | setup-sshd: prefix sshd_config with $ROOT | Natanael Copa | |
So we can run tests | |||
2022-05-11 | setup-sshd: mock fetching ssh key | Natanael Copa | |
and improve error message a bit | |||
2022-05-11 | setup-sshd: dont ask for root logins if key is given | Natanael Copa | |
2022-05-11 | setup-sshd: make it possible to do unit testing | Natanael Copa | |
2022-05-11 | setup-sshd: take ssh implementation as arg instead of -c option | Natanael Copa | |
This is similar to what we do on other setup-* scripts. Keep the -c for backwards compat for now. | |||
2022-05-10 | setup-sshd: ask for allow root logins | Natanael Copa | |
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10504 | |||
2022-03-16 | fix PREFIX in *.in | Nick Hanley | |
Commit ec0c7a7 changed the sed expression for PREFIX injection but forgot to update the scripts. | |||
2021-11-17 | setup-sshd: use SSH_KEY instead of prompt user | Natanael Copa | |
Do not ask user for ssh key, but support the use of SSH_KEY env var. | |||
2021-11-17 | setup-sshd: Ask for authorized key for root | Lukas Bestle | |
Fixes #10459. | |||
2021-01-08 | setup-sshd: improve error handling | Natanael Copa | |
repeat the question til we get a valid answer | |||
2016-11-02 | indent heredocs and replace echos with heredoc where appropriate | Jakub Jirutka | |
2016-11-02 | fix mixed tabs & spaces and surplus empty lines at EOF | Jakub Jirutka | |
2014-04-23 | fix permissions | Natanael Copa | |
2011-10-28 | setup-sshd: minor tweaking of prompt | Natanael Copa | |
2011-10-06 | setup-sshd: clean up code a bit | Natanael Copa | |
2011-08-05 | setup-sshd: cleanups and add command line options | Jeff Bilyk | |
2011-07-31 | setup-sshd: add dropbear support | Jeff Bilyk | |
2011-07-31 | setup-{apklbu, bootable, chrony, sshd}: replace double equals in if ↵ | Jeff Bilyk | |
statements with single equals | |||
2011-07-16 | setup-sshd: new script for setting up sshd | Jeff Bilyk | |