From the course: Learning SSH

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Troubleshooting SSH

Troubleshooting SSH - SSH Tutorial

From the course: Learning SSH

Troubleshooting SSH

- [Instructor] SSH is a crucial technology for many people. And when something goes wrong with it, it causes big problems. Because SSH involves many different aspects, troubleshooting it when something goes wrong can take a few different forms. So let's explore a few steps we can take on the server end of the connection and on the client end of the connection should problems arise. If users are unable to connect, one of the first things to check on the server end of the connection is whether the SSH server service is running. Usually, if we start the service, it should continue running. But now and then problems occur. We can check the services' status with a command systemctl status sshd. When we do this, we want to look for the indication that the service is active and running. If it's not, we can use the command systemctl restart sshd to restart the service and then look at its status again. If there's some…

Contents