Fix remote SSH encoding issue