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



30
31
32
# File 'lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb', line 30

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

.kill_ssh_tunnel(env, machine) ⇒ Object



38
39
40
# File 'lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb', line 38

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



34
35
36
# File 'lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb', line 34

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