delano / rye

Safe, parallel access to Unix shells from Ruby
http://delano.github.com/rye
MIT License
234 stars 32 forks source link

invalid key (OpenSSL::PKey::PKeyError) Error in JRuby #4

Closed delano closed 15 years ago

delano commented 15 years ago

The following error appears in JRuby 1.2 when Rye attempts to open an SSH connection:

net-ssh/lib/net/ssh/transport/openssl.rb:70:in `ssh_do_verify': invalid key (OpenSSL::PKey::PKeyError)

Solution: upgrade to JRuby 1.3

joakimk commented 15 years ago

I almost got this working with JRuby 1.1.6 by upgrading jruby-openssl to 0.5.2, but not completely. Now using this shell command wrapper: http://pastie.org/598798.

delano commented 15 years ago

Hey thanks, that's good to know specifically what fixes the issue.