ROR deployment error Net::SSH::AuthenticationFailed:

Anil Kumar
Nov 7, 2021

--

Authentication failed for user ubuntu@{serve ip aws or other}.

in RubyOnRails ROR deployment by

cap production deploy …

If you facing this error while deployment

Steps to solve :

1 Check ssh to server ( ssh user@ip }

2 Check the you public key added in server ssh authorized keys

3. then If login is working ssh then do ,, ssh-add solved my problem

--

--