How to configure authorization on the server?
Installed a new CentOS 7 system.
I went under root and executed the command:
# adduser stas
# passwd stas
# gpasswd-a wheel stas
Edit the file /etc/ssh/sshd_config in the beginning of the file add three lines:
Now cannot log - in attempts to log in get the following message:
ssh -p 1559 firstname.lastname@example.org
ssh: connect to host port 12.345.678.910 1559: No route to host
ssh -p 22 email@example.com
ssh: connect to host 12.345.678.910 port 22: Connection refused
asked June 26th 19 at 13:56
Find more questions by tags SSHCentOS