Fix an issue where SSH protocols would check legacy credentials

Missed this while grepping. We should use SSH purely based on protocol.

Auditors: btrahan