Checking ssh functionality