SSH-2.0-OpenSSH - Protocol mismatch.

10,372 views
Skip to first unread message

Marcelo Amorim

unread,
Jan 14, 2015, 8:38:17 PM1/14/15
to vagra...@googlegroups.com
Dear Srs,

I install vagrant in Windows 8.

See attached image.


Return this message ...

SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
Protocol mismatch.

How to fix this problem?

Best Regards,

Marcelo Amorim
image.png

Alvaro Miranda Aguilera

unread,
Jan 15, 2015, 3:21:44 PM1/15/15
to vagra...@googlegroups.com
Hello,

when you access that port 2222 in the host, you are redirected/nat into the port 22 in the guest that is ssh

so you can use an ssh client to connect to that port.

If you want to use a web browser, then you need to connect to a port that is being map to the guest where is http/https server



--
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 vagrant-up+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gin Lance

unread,
Sep 15, 2015, 6:10:52 AM9/15/15
to Vagrant
have you solved this problem? 

Alvaro Miranda Aguilera

unread,
Sep 18, 2015, 12:07:25 AM9/18/15
to vagra...@googlegroups.com
Hello

That happen when you use the wrong port in the browser.

2222 usually is for SSH, so you can use ssh localhost 2222

you need to create a port forward for http or https and use that
http/https port with the browser.

Share your Vagrantfile and I can tell you if you are missing that or not.

Thanks
Alvaro.
> --
> 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 vagrant-up+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/52fc8b7a-aa7e-44e1-ad8b-e5432ec719c1%40googlegroups.com.

Mohamed Hamed

unread,
Jan 29, 2018, 7:34:02 AM1/29/18
to Vagrant
Dear Alvaro

i have to install openio on vagrant so i have the same problem can you help me to solve this problem ..

i don't know what is your meaning  can i Share your Vagrantfile ????

Alvaro Miranda Aguilera

unread,
Jan 29, 2018, 1:04:39 PM1/29/18
to vagra...@googlegroups.com
you just reply to a 2015 email, i doubt the issue is near close

can you send a new email and describe

what you want to do
what is not working
what files are you using
what errors you get what do you see

etc, any information that can help to understand


Thanks


To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/edeb7c18-7ceb-43db-8f16-13c780296416%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Mohamed Hamed

unread,
Jan 30, 2018, 8:42:59 AM1/30/18
to vagra...@googlegroups.com
Dear Srs,

I have to install vagrant in centos 7.

See attached image.


Return this message ...

SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
Protocol mismatch.

How to fix this problem?

Best Regards,

You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/qLaQcbsVNrs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ez%2B0tk0uQ3K4H3CKLQ7sEYoYZVyxv4EJkQ6EszT5%3D%3DHpg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.



--
Best Wishes

Mohamed Hamed

Al-Motahida Education Group




image.png

Alvaro Miranda Aguilera

unread,
Jan 30, 2018, 8:44:25 AM1/30/18
to vagra...@googlegroups.com
hello

22 in the guest gets map to 2222 on the host

the port 22 is ssh protocol so you can connect to the port 2222 using a ssh protocol client

a web browser is not an ssh client

you can use the web browser to talk to a web server

ssh is not the same as https

Alvaro.


For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Reply all
Reply to author
Forward
0 new messages