Enable SSH access 1 crear usuario
adduser usuario
2. Habilitar el acceso ssh usando el password de un usuario (opcional).
Como root en nuestra instancia de amazon debemos editar el archivo
nano /etc/ssh/sshd_config
Buscar en el archivo la directiva PasswordAuthentication y cambiar de no a yes
Guardar los cambios y cerrar el archivo
Luego nos queda reiniciar el servidor ssh y tendremos habilitado el acceso
service /etc/init.d/sshd reload
Dar permisos de administrador o sudores
Digitar visudo
Luego buscar la linea root ALL=(ALL:ALL) ALL y debajo de ella adicionar
Nobre-usuario-creado ALL=(ALL:ALL) ALL
https://slimbook.es/tutoriales/linux/86-anadir-usuario-al-fichero-sudoers
Validar la conexión a ssh
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add soporteti@julius2grow.com to your trusted senders list in your email software.
A code was sent to the recovery email address. Please provide the 6-digit code.
A code can be retrieved from your authentication app. Please provide the 6-digit code.
An email was sent to your recovery email address. If you need further assistance, please contact your system admin.