Vagrant creates port mappings 2222 -> guest 22 perhaps you need to add a ssh -p 2222 to your command
On Saturday, December 7, 2019 at 8:09:36 AM UTC-6, Meir Yanovich wrote: > > Hello all > i try to ssh via cygwin to the CentOS 7 VM i installed > i try as i do normally : > ssh -i > /cygdrive//d/HashiCorp/centos7/.vagrant/machines/default/virtualbox/private_key > > vag...@127.0.0.1 <javascript:> > > but im getting : > ssh: connect to host 127.0.0.1 port 22: Connection refused > > The vagrant ssh command working find but i like to be able to login from > simple ssh > thanks > > > > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/7b55a276-3239-4e1d-ac09-ea570dcd22be%40googlegroups.com.