Method: Wemux::Pair::SshTunnel#open
- Defined in:
- lib/wemux/pair/ssh_tunnel.rb
#open ⇒ Object
25 26 27 28 29 |
# File 'lib/wemux/pair/ssh_tunnel.rb', line 25 def open close_tunnels puts "Opening tunnel..." system "ssh #{} -f -N #{ssh_forwards} #{ssh_user}@#{ssh_host}" end |