Hi! I’m trying to verify if the sshd service has PasswordAuthentication
disabled on the BalenaOS production image.
Under /etc/ssh
, I found 3 sshd_config files: sshd_config
sshd_config_development
and sshd_config_readonly
:
sshd_config
andsshd_config_development
do not define PasswordAuthentication, so it would default to yessshd_config_readonly
explicitely disables PasswordAuthentication withPasswordAuthentication no
Questions:
- What sshd_config file is used by the sshd service?
- Is PasswordAuthentication disabled on the Production image?
I’m using balenaOS 6.5.9 on Raspberry Pi 4 (using 64bit OS)