summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/net/ssh/service/forward.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ssh/service/forward.rb b/lib/net/ssh/service/forward.rb
index 382a10d..0edfaa7 100644
--- a/lib/net/ssh/service/forward.rb
+++ b/lib/net/ssh/service/forward.rb
@@ -388,8 +388,8 @@ module Net
originator_address = packet.read_string
originator_port = packet.read_long
+ puts "REMOTE 0: #{connected_port} #{connected_address} #{originator_address} #{originator_port}"
remote = @remote_forwarded_ports[[connected_port, connected_address]]
-
if remote.nil?
raise Net::SSH::ChannelOpenFailed.new(1, "unknown request from remote forwarded connection on #{connected_address}:#{connected_port}")
end