title: How to set vagrants host SSH port
body: <p>I have multiple VMs managed by vagrant in a production environment. I like to set their SSH host ports manually while I have to open every single port in iptables. Vagrant manages these port forwarding manually by default which forces me to open a range of ports which I doesn't want to.</p>
  
  <p>I already tried a port forwarding but it ends up with two ports forwarded to the guest.</p>
  
  <pre><code>config.vm.network "forwarded_port", id: "a-named-ssh-forwarding", host: 54321, guest: 22
  
  </code></pre>
  
  <p>The problem is I cannot see any option in the vagrant SSH config section. Obviously I could set the guests SSH port only.</p>
  
  <p><a href="https://www.vagrantup.com/docs/vagrantfile/ssh_settings.html" rel="nofollow noreferrer">Vagrant SSH settings</a></p>
  
  <p>Is it even possible to set the forwarded host SSH port and if yes how?</p>