adds while loop to make sure user correctly sets up ssh