Net::SSH io padding error ------------------------- Key: JRUBY-2747 URL: http://jira.codehaus.org/browse/JRUBY-2747 Project: JRuby Issue Type: Bug Components: OpenSSL Affects Versions: JRuby 1.1.2 Environment: Client MacosX 10.5, Server: SSH-2.0-OpenSSH_4.3p2 on Debian-9etch2 Reporter: Dirk Vleugels
$ bin/jruby --version ruby 1.8.6 (2008-05-28 rev 6586) [i386-jruby1.1.2] $ bin/gem list --local *** LOCAL GEMS *** jruby-openssl (0.2.3) net-ssh (2.0.3) rake (0.8.1) rspec (1.1.4) sources (0.0.1) require 'rubygems' require 'net/ssh' Net::SSH.start("target.host.com", "user", :password => "password") do |ssh| result = ssh.exec!("ls -l") puts result end Execution results in the following error: /Users/dvl/local/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/transport/packet_stream.rb:195:in `poll_next_packet': padding error, need 3266548518 block 16 (Net::SSH::Exception) from /Users/dvl/local/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/transport/packet_stream.rb:85:in `next_packet' from /Users/dvl/local/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/transport/packet_stream.rb:84:in `loop' from /Users/dvl/local/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/transport/packet_stream.rb:84:in `next_packet' from /Users/dvl/local/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/transport/session.rb:155:in `poll_message' from /Users/dvl/local/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/transport/session.rb:150:in `loop' from /Users/dvl/local/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/transport/session.rb:150:in `poll_message' from /Users/dvl/local/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/transport/session.rb:135:in `next_message' from /Users/dvl/local/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/authentication/session.rb:81:in `next_message' ... 8 levels... from /Users/dvl/local/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh/authentication/session.rb:60:in `authenticate' from /Users/dvl/local/jruby-1.1.2/lib/ruby/gems/1.8/gems/net-ssh-2.0.3/lib/net/ssh.rb:186:in `start' from ssh.rb:4 Regards, Dirk -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email