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
- editado entonces
/etc/ssh/sshd_config- encontrar
PubkeyAuthenticationentonces uncomment(remove#) - añadir
PubkeyAcceptedKeyTypes=+ssh-rsa
- encontrar
- reiniciar sshd
sudo systemctl restart sshd
Please log in to post comments:
Login with Google