I asome you mean
C:\Windows\System32\drivers\etc\host ?

There was nothing in there that could mess with vagrant but just to be 
sure, i commented everything and tryed again with -p and a few other params

Utilisateur 1@PSIMARD-CLIIIC MINGW64 /c/dev/symphony 4/gardening (master)
$ vagrant ssh-config
Host default
  HostName 127.0.0.1
  User vagrant
  Port 2222
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile "C:/Users/Utilisateur 1/.vagrant.d/insecure_private_key"
  IdentitiesOnly yes
  LogLevel FATAL
  ForwardAgent yes


$ ssh -vvv [email protected] -p 2222 -i ~/.vagrant.d/insecure_private_key 
-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o 
PasswordAuthentication=no -o IdentitiesOnly=yes

OpenSSH_7.9p1, OpenSSL 1.1.1a  20 Nov 2018
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolve_canonicalize: hostname 127.0.0.1 is address
debug2: ssh_connect_direct
debug1: Connecting to 127.0.0.1 [127.0.0.1] port 2222.
debug1: Connection established.
debug1: identity file /c/Users/Utilisateur 
1/.vagrant.d/insecure_private_key type -1
debug1: identity file /c/Users/Utilisateur 
1/.vagrant.d/insecure_private_key-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.9
ssh_exchange_identification: read: Connection reset by peer





Le vendredi 24 mai 2019 17:58:53 UTC-4, Dennis Chang a écrit :
>
> Double-check my syntax, it could be a small p instead of a big P.
>
> But if that's not the issue, my guess is, you have a 2222 stored in a 
> hosts file.
> Check \Windows\system32\devices\
>
> for a file named host. Could there be a record in there with the name 2222 
> that points to 0.0.8.174?
>
> I think it's the small p vs big P. Try it again,
>
> ssh -vvv -i ~/.vagrant.d/insecure_private_key -p 2222 [email protected] 
> <javascript:>
>
> Dennis
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/dbf88824-da05-414e-80c7-a6b78fcc641f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to