| Class | VagrantPlugins::ProviderLibvirt::Action::ForwardPorts |
| In: |
lib/vagrant-libvirt/action/forward_ports.rb
|
| Parent: | Object |
Adds support for vagrant‘s `forward_ports` configuration directive.
| User | = | #{ssh_info[:username]} Port=#{ssh_info[:port]} UserKnownHostsFile=/dev/null |
| StrictHostKeyChecking | = | no |
| PasswordAuthentication | = | no |
| ForwardX11 | = | #{ssh_info[:forward_x11] ? 'yes' : 'no'} IdentitiesOnly=#{ssh_info[:keys_only] ? 'yes' : 'no'} ) + ssh_info[:private_key_path].map do |pk| "IdentityFile='\"#{pk}\"'" |