# Problem with net-ssh

**URL:** <https://www.ruby-forum.com/t/problem-with-net-ssh/74397>\
**Category:** Ruby\
**Created:** [December 22, 2005, 11:36pm UTC](https://www.ruby-forum.com/t/problem-with-net-ssh/74397 "2005-12-22T23:36:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pergesu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/22d042/32.png) [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Post date:** [December 22, 2005, 11:36pm UTC](https://www.ruby-forum.com/t/problem-with-net-ssh/74397/1 "2005-12-22T23:36:37Z")

</div>

I’m getting the following error when I run the switchtower setup  
command:

/usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/packet-stream.rb:203:in  
`sysread': bignum too big to convert into`long’ (RangeError)  
from  
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/packet-stream.rb:203:in  
`read' from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/packet-stream.rb:167:in`get’  
from  
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/packet-stream.rb:147:in  
`synchronize' from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/packet-stream.rb:147:in`get’  
from  
/usr/lib/ruby/gems/1.8/gems/needle-1.2.1/lib/needle/lifecycle/proxy.rb:60:in  
` __send__' from /usr/lib/ruby/gems/1.8/gems/needle-1.2.1/lib/needle/lifecycle/proxy.rb:60:in`method\_missing’  
from  
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/session.rb:245:in  
`wait_for_message' from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/session.rb:240:in`loop’  
… 53 levels…  
from  
/usr/lib/ruby/gems/1.8/gems/switchtower-0.9.0/lib/switchtower/cli.rb:7:in  
`execute!' from /usr/lib/ruby/gems/1.8/gems/switchtower-0.9.0/bin/switchtower:11 from /usr/bin/switchtower:18:in`load’  
from /usr/bin/switchtower:18

Any clue what’s up with that? I don’t know if it’s a problem with the  
gem, with my client machine, or with my server.
