Fix lines being split incorrectly in ssh