3 ms·
What do you think proper architecture would be, given that ssh needs a capability to let root logins? I suppose it could be via a proper PAM module, which is w
by nine_k 9mo ago
What do you think proper architecture would be, given that ssh needs a capability to let root logins?
I suppose it could be via a proper PAM module, which is widely supported.
Too bad the first PAM RFC was published about the same time the first be version of ssh was released.
- accrual 9mo ago> ssh needs a capability to let root logins One can disable root login via SSH in /etc/ssh/sshd_config. sshd also drops root priviledges once it's running IIRC. I use use sudo or doas as a regular user once logged in.
- charcircuit 9mo agoI think a proper architecture would not even have a root account. The server would just expose an authenticated endpoint that allows for configuration and updates to be pushed for it.
- nine_k 9mo agoYou are thinking 20 years ahead. In 1995 most servers were still pets, not cattle.
- spott 9mo agoDoes ssh need to allow root logins? Sshing as a regular user and then sudo to root works 95% of the time…