# Problem with Net::SSH::Gateway

**URL:** <https://www.ruby-forum.com/t/problem-with-net-gateway/189589>\
**Category:** Ruby\
**Created:** [June 3, 2010, 4:40pm UTC](https://www.ruby-forum.com/t/problem-with-net-gateway/189589 "2010-06-03T16:40:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mly](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/a9a28c/32.png) [@mly](https://www.ruby-forum.com/u/mly)\
**Post date:** [June 3, 2010, 4:40pm UTC](https://www.ruby-forum.com/t/problem-with-net-gateway/189589/1 "2010-06-03T16:40:05Z")

</div>

I am having a problem with Net::SSH::Gateway. It seems that when a  
connection fails and a rescue clause in used, the next connection  
attempted hangs forever. I am trying to walk through a list of systems  
that require the use of a “jump box” to access and not all of them are  
up.

Ideas?

– Matt  
It’s not what I know that counts.  
It’s what I can remember in time to use.
