Module: Dizby::TunnelableLocal

Included in:
BidirectionalTunnelStrategy, LocalTunnelStrategy
Defined in:
lib/dizby/tunnel/tunnelable_local.rb

Instance Method Summary collapse

Instance Method Details

#create_local_tunnel(ssh, server_port)


4
5
6
# File 'lib/dizby/tunnel/tunnelable_local.rb', line 4

def create_local_tunnel(ssh, server_port)
  ssh.forward.local 0, 'localhost', server_port
end