Class: Wemux::Pair::HostTunnel
- Defined in:
- lib/wemux/pair/host_tunnel.rb
Instance Attribute Summary
Attributes inherited from SshTunnel
Instance Method Summary collapse
Methods inherited from SshTunnel
#client_port, #close_tunnels, #host_port, #initialize, #open, #ssh_options, tunnel_failure!
Constructor Details
This class inherits a constructor from Wemux::Pair::SshTunnel
Instance Method Details
#control_path ⇒ Object
6 7 8 |
# File 'lib/wemux/pair/host_tunnel.rb', line 6 def control_path "/tmp/wemux-pair-host-ssh" end |
#ssh_forwards ⇒ Object
10 11 12 |
# File 'lib/wemux/pair/host_tunnel.rb', line 10 def ssh_forwards "-R #{host_port}:localhost:22" end |