Fix SSH master connection support

Doh doh doh!