title: Python Fabric: Skip refused SSH connections?
body: <p>I'm new to Python and Fabric, and I've modified a script that pings hosts on our LAN (to determine what machines are alive, we have a lot) to log into the hosts and list running processes back to the client. Whilst this works on servers, it seems there's other devices in the subnets that don't permit SSH logins and the connection is refused, causing Fabric to exit with a fatal error. Is there any way to make Fabric skip any host that refuses a connection?<br>
  Using</p>
  
  <pre><code>with settings(warn_only=True)
  </code></pre>
  
  <p>doesn't seem to help.<br>
  Thanks.</p>