|
[jruby-user] jopenssl and ssh issue (was: ssh and sftp from JRuby?): msg#00147lang.jruby.user
I've been trying to get this to work, but get the following error (looks like the OpenSSL::BN class isn't fully implemented): irb(main):011:0> session = Net::SSH.start('host_name', 'user_name', 'pw') ArgumentError: wrong number of arguments(2 for 0) from /.../net-ssh-1.1.2/lib/net/ssh/transport/ossl/buffer.rb:35:in `read_bignum' from /.../net-ssh-1.1.2/lib/net/ssh/transport/ossl/buffer.rb:59:in `read_keyblob' from /.../net-ssh-1.1.2/lib/net/ssh/transport/ossl/buffer.rb:43:in `read_key' from /.../net-ssh-1.1.2/lib/net/ssh/known-hosts.rb:75:in `keys_for' from /.../net-ssh-1.1.2/lib/net/ssh/known-hosts.rb:62:in `each_line' from /.../net-ssh-1.1.2/lib/net/ssh/known-hosts.rb:62:in `keys_for' Anyone found a workaround for this? Thanks, -Bill On May 15, 2007 8:28 AM, Nick Sieger <nicksieger@xxxxxxxxx> wrote: > On 5/15/07, Ronald Fischer <ronald.fischer@xxxxxxxxxx> wrote: > > Hello, > > > > did someone already successfully use SSH and SFTP from within JRuby? > > > > I know only the Ruby classes net/ssh etc., written by Jamis Buck, but > > aside from that I haven't managed yet to install it properly, Jamis > > wrote about it in a mail: > > > > "Note that net/ssh will not work with JRuby, though, because net/ssh > > requires OpenSSL bindings for Ruby.JRuby may actually have > > at least a partial OpenSSL implementation available. I have no idea > > whether it is sufficient for running net/ssh, though." > > > > So I wonder if someone already had successfully controlled ssh and/or > > sftp > > from JRuby on Windows. > > I haven't heard of anyone to try this combination yet. You could be > the first! :) It certainly would be cool if Ola's openssl > implementation allowed use of net/ssh. > > /Nick > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [jruby-user] jruby inside jython: 00147, Yoko Harada |
|---|---|
| Next by Date: | [jruby-user] Welcome new committer: MenTaLguY: 00147, Charles Oliver Nutter |
| Previous by Thread: | [jruby-user] Iterating over characters in a String ?i: 00147, Leonel Gayard |
| Next by Thread: | [jruby-user] Welcome new committer: MenTaLguY: 00147, Charles Oliver Nutter |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |