CentOS configuration ssh system technology

  

CentOS configuration ssh has been widely used but is also constantly updated. Here is the CentOS configuration ssh installation settings to help you install and update the CentOS configuration ssh system. Most of the content applies to CentOS /RHEL and is also available for other distributions.

Installing a CentOS Sever version on VMware, the contents of the terminal are not scrollable and inconvenient. Remote login under win is good (there is an Xshell under win). The default installation of ssh is there. Just the hosts access problem.

1. Add CentOS configuration at the end of the hosts.deny file ssh:ALL means to deny all access requests [root@localhost ~]# vi /etc/hosts.deny looks like this:

hosts.denyThis file describes the names of the hyusaosts which are

*not* allowed to use the local INET services, as decided

by the '/usr/sbin/tcpd' server .

The portmap line is redundant, but it is left to remind you that

the new secure portmap uses hosts.deny and hosts.allow. In particular

you should Know that NFS uses portmap!

sshd:ALL

2. Add CentOS configuration ssh at the end of the hosts.allow file: 192.168.0.

means 192.168.0.1 is allowed To 254 hosts, intranet.

[root@localhost ~]# vi /etc/hosts.allow

hosts.allow This file describes the names of the hosts which are

allowed to use the local INET services, as decided

by the '/usr/sbin/tcpd' server.sshd:192.168.0.

3. Restart CentOS configuration ssh

[root@ Localhost ~]# /etc/rc.d/init.d/sshd restart

Stop ssh [OK]

Start ssh [OK]

The above describes CentOS configuration ssh .

Copyright © Windows knowledge All Rights Reserved