-
Notifications
You must be signed in to change notification settings - Fork 113
Add OpenSSH to Windows Images #332
Comments
All Windows images should have OpenSSH installed and password-less |
hi, i tried with the server 2019 images but they seem to have issues with the key based auth. Strange enough
Not quite sure whats going on here, i can see that the key has been added to the vagrant users authorized keys file:
but for some reason sshd doesnt accept the keypair:
from ssh event log:
|
I tested it with Win server 2019 images + VirtualBox and it's working fine there. I successfully installed the "vagrant libvirt plugin" brew install libvirt
brew services start libvirt
NOKOGIRI_USE_SYSTEM_LIBRARIES=1 CONFIGURE_ARGS="with-libvirt-include=$(brew --prefix libvirt)/include with-libvirt-lib=$(brew --prefix libvirt)/lib" vagrant plugin install vagrant-libvirt Then I changed the Vagrantfile paramaters: mkdir windows-server-2019-standard-x64-eval
cd windows-server-2019-standard-x64-eval
vagrant init peru/windows-server-2019-standard-x64-eval
# Add
config.vm.provider :libvirt do |libvirt|
libvirt.driver = 'qemu'
# Use QEMU session instead of system connection
libvirt.qemu_use_session = true
libvirt.qemuargs :value => '-machine'
libvirt.qemuargs :value => 'accel=hvf'
libvirt.video_type = 'cirrus'
libvirt.graphics_type = 'vnc'
end
VAGRANT_DEFAULT_PROVIDER=libvirt vagrant up But it ends up with error:
Seems like I hit this bug: vagrant-libvirt/vagrant-libvirt#1017 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
hi,
it would be neat to have OpenSSH portable from:
https://github.com/PowerShell/openssh-portable
in the windows images to be able to use ssh during provisioning instead of winrm only.
The text was updated successfully, but these errors were encountered: