Making salt/utils/validate/ssh python3 compatible
Merge pull request #18000 from nmadhok/utils/validate-python3-ssh

Making salt/utils/validate/ssh python3 compatible