Capistrano: La autenticación falló para el usuario ubuntu@xxxxxx.xxxxx (Net::SSH::AuthenticationFailed)

La guay dr.calix escribe: edición: Authentication fall for user ubuntu@xxxx.xxxx.xxx (Net::SSH:AuthenticationFailed) via capistrano pero puede ssh directamente Debugging:
  • sudo tail -f /var/log/auth.logen el servidor
  • entonces lo intentécap production deploy:checken mi local
  • userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth]aparecieronauth.log
solución:
  • editado entonces/etc/ssh/sshd_config
    • encontrarPubkeyAuthenticationentonces uncomment(remove#)
    • añadirPubkeyAcceptedKeyTypes=+ssh-rsa
  • reiniciar sshdsudo systemctl restart sshd
Please log in to post comments:  
Login with Google