Hi,

I am trying to use winssh as the communicator to connect to a windows 7 ie 
box. By default openssh is enabled on these boxes however connecting gives 
a limited linux shell, not a cmd one. For this reason I would like to 
specify that "cmd.exe" is executed first to give access to the cmd prompt 
however I can't work out how to do this.

Using ssh on ubuntu with "ssh localhost -p 2222 cmd.exe" works but I have 
no idea how to do a similar thing in the vagrant file. I have tried 
ssh.shell and winssh.shell as well as ssh.extra_args but nothing seems to 
work.

Any help would be much appreciated.

-- 
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/9ef8d55a-3fc6-40dc-a876-2b203e014544%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to