Fix ssh introducing a CR in a variable