prepared envclient to work over ssh