Skip to content

sunfkny/CentOS-OpenSSH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CentOS-OpenSSH

Build

./build.ps1

or

./build.sh

Install

# disable selinux
setenforce 0
sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
# update openssh
rpm -Uvh openssh-*.rpm
# enable root login
sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
# start sshd
systemctl restart sshd
systemctl status sshd

See also

boypt/openssh-rpms