Tutorial – How To Activate openssh Fedora CentOS and Other Redhat Distros

Опубликовано: 07 Октябрь 2024
на канале: Juan Guardado
720
10

On this tutorial I show how to activate openSSh on CentOS, Fedora, and other Linux distros.

The following are the steps to activate openssh on most Linux distros:

Step 1 Edit
Open terminal and enter the following command. I'm using nano for this example but your welcome to use editor of choice.
nano /etc/ssh/sshd_config

AND UNCOMMENT

Port 22
AddressFamily any
ListenAddress 0.0.0.0
ListenAddress ::

Picture Example: http://cloud.freelancetek.com/index.p...

Step 2 Start sshd
On we need to start the ssh service
/sbin/service sshd start

Step 3 Auto start ssh
If you just need ssh server to start on demand, steps 1 & 2 are all you need. If you need the ssh service to start at boot, then you'll need to edit your sshd with the following command.
chkconfig sshd on


Follow my blogs at