Refactor sshconfig

Be more pythonic.