Installation
apt or yum -y install openssh-server openssh-client

Configuration
cp /etc/ssh/sshd_config /root/sshd_config.default
vim /etc/ssh/sshd_config

Port 2211                       #change ssh port to 2211
PermitRootLogin yes             #allow root login
MaxAuthTries 3                  #max tries login
PasswordAuthentication yes      #password authentication
ClientAliveInterval 300         #idle time session in second
AllowUsers root                 #allow root login
AllowUsers darin                #allow user darin

systemctl restart sshd
systemctl enable sshd