Skip to main content

Habilitar SSH en CentOS 9 Stream

Al levantar la VM por primera vez con Vagrant, solo puedo acceder por ssh haciendo vagrant ssh. Cuando intento hacer SSH desde Putty o RDM no me deja.

Veo que la configuración del archivo /etc/ssh/sshd_config tiene el siguiente parametro:

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no

Al estar PasswordAuthentication en no, no sale el cuadro preguntando por la contraseña del usuario. Sólo se permite el acceso a través de user + clave (habría que exportar clave desde CentOS y agregarla al sistema desde el que se quiere hacer SSH entiendo).

SSH Public Key - No supported authentication methods available (server sent public key)
PuTTY fatal error: "No supported authentication methods available"
An introduction to the vi editor
Configuring an SSH login without password
Where to find SSH Login log files on centos