Class: VagrantPlugins::Skytap::HostWindows::Cap::SSHTunnel

Inherits:
VagrantPlugins::Skytap::HostCommon::Cap::SSHTunnel show all
Defined in:
lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb

Class Method Summary collapse

Methods inherited from VagrantPlugins::Skytap::HostCommon::Cap::SSHTunnel

autossh_environment_variables, clear_forwarded_ports, fp_to_pidfile, get_fp_from_directory, machine_data_dirs, pidfile_path, pidfile_to_fp, read_forwarded_ports, read_pid, read_used_ports, ssh_args

Class Method Details

.create_loggerObject



8
9
10
# File 'lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb', line 8

def self.create_logger
  Log4r::Logger.new("vagrant::hosts::windows")
end

.kill_ssh_tunnel(env, machine) ⇒ Object



16
17
18
# File 'lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb', line 16

def self.kill_ssh_tunnel(env, pidfile, env_hash)
  raise Errors::FeatureNotSupportedForHostOs, feature_name: "port forwarding"
end

.start_ssh_tunnel(env, fp, env_hash) ⇒ Object



12
13
14
# File 'lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb', line 12

def self.start_ssh_tunnel(env, fp, env_hash)
  raise Errors::FeatureNotSupportedForHostOs, feature_name: "port forwarding"
end