Fix rmote tramp mode