better error handling for SSH authentication failures