factor-connector-ssh 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/factor/connector/ssh.rb +1 -1
- metadata +1 -1
data/lib/factor/connector/ssh.rb
CHANGED
@@ -158,7 +158,7 @@ Factor::Connector.service 'ssh' do
|
|
158
158
|
end
|
159
159
|
end
|
160
160
|
end
|
161
|
-
rescue
|
161
|
+
rescue Factor::Channel::Error
|
162
162
|
raise
|
163
163
|
rescue => ex
|
164
164
|
fail "Couldn't connect to the server #{user}@#{host}:#{port || '22'}, please check credentials.", exception:ex
|