Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Vagrant can't connect to box #19

Open
ccarstens opened this issue May 23, 2018 · 2 comments
Open

Vagrant can't connect to box #19

ccarstens opened this issue May 23, 2018 · 2 comments

Comments

@ccarstens
Copy link

ccarstens commented May 23, 2018

Hi
I'm trying to connect to the IE11 on WIN7 box and I'm having trouble connecting with the provided password "Passw0rd!" or with "vagrant" as the password.
I changed my Vagrantfile to the following:

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
  config.vm.box = "IE11WIN7"
  config.ssh.password = "Passw0rd!"
end

And here is the console output:

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: password
[email protected]'s password:

No known password is working here.

What am I doing wrong?
thanks,
ccarstens

@molant
Copy link
Contributor

molant commented May 23, 2018

I'm no vagrant expert (images are generated automatically with a script) but it could be the username you are using. The user/pass are ieuser/Passw0rd! and it looks like you are using vagrant as the user.
Can you give it a try?

@dragon788
Copy link

Molant is correct that the user is IEUser and the password is Passw0rd! so you'll need to override both the SSH username and password in the Vagrantfile. If you want to use WinRM it takes a little bit more work, but it also requires overriding the username/password.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants