summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/net/ssh.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/net/ssh.rb b/lib/net/ssh.rb
index acc23a7..9f03a98 100644
--- a/lib/net/ssh.rb
+++ b/lib/net/ssh.rb
@@ -193,6 +193,7 @@ module Net
return connection
end
else
+ transport.closed
raise AuthenticationFailed, user
end
end