INFORMATICS

The Best

Przełącznik języka

This Site

CMS

Hardware

Uncategorised

useful sites

Databases

Emulators

Powershell

Storage Array

DNS

Antivirus program

Licznik

1.png8.png7.png9.png5.png1.png7.png
Today398
Yesterday638
This week1558
This month14018
Total1879517

Visitor Info

  • IP: 52.3.228.47
  • Browser: Unknown
  • Browser Version:
  • Operating System: Unknown

Who Is Online

19
Online

Monday, 21 September 2020 11:28

Centos 8 install SSH service step by step

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

Centos 8 install SSH service step by step
Install the openssh package:
# dnf install openssh-server
Start the OpenSSH service by executing the following command:
# systemctl start sshd
Check the status of the sshd service.
# systemctl status sshd
Enable the SSH service to start after the reboot:
# systemctl enable sshd
Open the firewall rules to accept incoming traffic on SSH default port 22:
# firewall-cmd --zone=public --permanent --add-service=ssh
Connect to the SSH server with IP eg. 10.1.1.1 as the root user from a remote client machine:
$ ssh This email address is being protected from spambots. You need JavaScript enabled to view it..6

Search