change conditional statement regarding ssh