Welcome to Working With Rails

 

Discussion Forums

Discuss all things Ruby on Rails with perhaps the web's most vibrant group of Ruby on Rails enthusiasts.
Net::SSH::Exception: host key algorithm mismatch with capistrano deploy
3 Posts
Net::SSH::Exception: host key algorithm mismatch with capistrano deploy

Hi I am deploying my app with Capistrano. but my deploy fails and gives me error

connection failed for: server_name (Net::SSH::Exception: host key algorithm mismatch for signature '9��6B�f�6� uvP֩˿��"�O`e�*x��' != 'ssh-dss')

but i am able to ssh connect to my server.

Thanks

if you are using ssh-rsa try ssh-dsa instead and vice versa. you can make sure of the key type by opening up known_hosts file and look for the entry relating to the remote host.

Thanks, but can you please tell me how to specify key type i.e. ssh-rsa or ssh-dsa via cap deploy file or where to make changes in the remote server for the same.

3 Posts
Login to add your message