fix ability to run commands with ssh as sudo
Merge pull request #162 from RiotGames/sudo-fix

fix ability to run commands with ssh as sudo