Capistrano SSH::AuthenticationFailed, not prompting for password

后端 未结 9 1182
既然无缘
既然无缘 2020-12-07 22:41

I\'ve been using capistrano successfully for a while now and all of a sudden in every project I\'ve lost the ability to deploy.

Environment:

  • os X (Mave
9条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-07 23:00

    set :ssh_options, {
     verbose: :debug
    }
    

    ... helps a lot!

    I had an issue that I generated my public and private keys with puttygen and exported private key as OpenSSH with name .id_rsa. An then saved public key with name .id_rsa.pub.

    ( ! ) The public key puttygen saves is in RFC 4716 format not PEM. Use public suffix instead of pub for public key file-

提交回复
热议问题