Thursday, February 24, 2022

How To install SSH Server On Rocky Linux 8.5 | Enable OpenSSH

 in This Tutorial you will Learn "How To install SSH Server On Rocky Linux 8.5 | Enable OpenSSH"

SSH is a client-server service providing secure encrypted connections over the network connection.
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      |    IP -192.168.1.20        |     Hostname - www.primaryhost.com
_________________________________________________________________________________________
cat /etc/system-release ; sestatus ; hostname ; hostname -I ; dnf groupinstall "Development Tools" -y
nano /etc/ssh/sshd_config
PermitRootLogin no
systemctl restart sshd ; systemctl status sshd
firewall-cmd --add-service=ssh ; firewall-cmd --runtime-to-permanent
getent passwd  
hostname -i ; hostname          | username - debs             hostname or IP address - 192.168.1.20
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
SSH Client : Rocky Linux
cat /etc/system-release ; sestatus ; hostname -I ; dnf groupinstall "Development Tools" -y
dnf -y install openssh-clients

ssh [username@(hostname or IP address)]
ssh debs@192.168.1.20
_________________________________________________________________________________________

No comments:

Post a Comment