VPS SSH Configuration

Our VPS provisioning process includes a configuration that enables password authentication by default.

The main SSH configuration file includes additional configuration files using the following directive:

/etc/ssh/sshd_config.d/*.conf

Within this directory, the file 50-cloud-init.conf contains the following setting:

PasswordAuthentication yes

This ensures that password-based SSH login is enabled on newly provisioned systems.

If you wish to disable password authentication, update the configuration to:

PasswordAuthentication no
Ha estat útil la resposta? 0 Els usuaris han Trobat Això Útil (0 Vots)