correct input for remote shell