From the course: Linux System Engineer: Networking and SSH

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Installing SSH client and server

Installing SSH client and server

From the course: Linux System Engineer: Networking and SSH

Start my 1-month free trial

Installing SSH client and server

- [Instructor] The SSH client and server should be installed by default in Enterprise Linux 7, but if they're not we'll do it now. To install the client, open a terminal and type in sudo yum install -y openssh-clients, and hit Enter. If it's already installed, it won't hurt anything. We install the SSH server the same way. Type in sudo yum install -y openssh-server, and hit Enter. If you had to install the server, it will have to be enabled as well. We'll use systemctl for this. Type in clear, and then type in sudo systemctl enable sshd.service, and hit Enter. This will ensure that it's running the next time we reboot. Now, let's manually start it. Type in sudo systemctl start sshd.service, and hit Enter. Now, we're ready to proceed with learning about Secure Shell.

Contents