ROR deployment error Net::SSH::AuthenticationFailed:

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

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
ACHARYA ANIL SURYAVANSHI

ACHARYA ANIL SURYAVANSHI

Software Engineer | Bharat Swabhiman Patanjali Social Activist | Speaker | Motivator | Yoga Trainer