Replace hardcoded ssh command with environment one