title: ssh-config by host subnet
body: <p>So I have a whole bunch of machines on my 10.10.10.x subnet, all of them are essentially configured in the same way. I differentiate these from machines on my 10.10.11.x subnet which serves a different purpose.</p>
  
  <p>I'd like to be able to type 'ssh 10.x' to connect to machines on the 10. network and 'ssh 11.x' to connect to machines on the 11 network.</p>
  
  <p>I know I can setup individual machines to allow access to the full ip, or the shorthand version like this in my ~/.ssh/config: </p>
  
  <pre><code>Host 10.10.10.11 10.11
  HostName 10.10.10.11
  User root
  </code></pre>
  
  <p>This can get pretty repetitive for lots of hosts on my network, so my question is, is there a way to specify this as a pattern, for the entire subnet, something like:</p>
  
  <pre><code>Host 10.10.10.x
  User root
  
  Host 10.x
  HostName 10.10.10.x
  User root
  </code></pre>
  
  <p>Thanks</p>