为什么 Ruby 会给出错误“点不在曲线上”?

gra*_*ler 1 ruby ssh openssl capistrano

当我运行 capistrano 进行部署时,出现以下错误。

cap aborted!
OpenSSL::PKey::EC::Point::Error: point is not on curve
Run Code Online (Sandbox Code Playgroud)

我正在使用最新版本的 Capistrano、Ruby 和 Openssl。

gra*_*ler 7

问题的原因是该文件~/.ssh/known_hosts已损坏。通过删除该文件,问题得到解决。