Vagrant will create a local port say on 2222 for the first box

When tries for the 2nd port, will try 2222 used? Then 2223 or other

So still not clear whats the benefit or requirement on doing this.

Is this really needed? Why?

And what are those boxes you mention?

Alvaro


> On 1 Dec 2017, at 13:31, Marcin Dulak <marcin.du...@gmail.com> wrote:
> 
> 1. to have guest sshd on a non-default port
> 2. be able to configure this with Vagrant, using the properly maintained 
> official boxes, instead of making my own ones
> 
> Some people can use the default ssh port, other can't for some reasons.
> 
> Marcin
> 
> On Friday, December 1, 2017 at 1:20:52 PM UTC+1, Antony Stone wrote:
> On Friday 01 December 2017 at 13:15:34, Marcin Dulak wrote: 
> 
> > I need sshd on a non-default port set up dynamically 
> 
> What is the purpose / benefit in doing this? 
> 
> Antony. 
> 
> > > On Fri, Dec 1, 2017 at 11:34 AM, Marcin wrote: 
> > >> 
> > >> I want to change the sshd port on the guest dynamically. 
> > >> 
> > >> I start with a box setup with sshd on port 22, change the port to let's 
> > >> say 222, restart sshd. 
> > >> I want vagrant to be able to interact with that guest on the new port. 
> 
> -- 
> In the Beginning there was nothing, which exploded. 
> 
>  - Terry Pratchett 
> 
>                                                    Please reply to the list; 
>                                                          please *don't* CC 
> me. 
> 
> -- 
> This mailing list is governed under the HashiCorp Community Guidelines - 
> https://www.hashicorp.com/community-guidelines.html 
> <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 
> <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 
> <mailto:vagrant-up+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/vagrant-up/811499b7-8cd2-4c2e-9738-fb1ebac154fb%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/vagrant-up/811499b7-8cd2-4c2e-9738-fb1ebac154fb%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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/C991E2E8-7E08-4E83-8E28-E2D8EA497649%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to