- made some methods of the servercontroller class private - returned a call to the checkSshConnection() function