refactor ssh
added env option for runner installer