Answer
In a default configuration, with ssh enabled, all normal users are allowed to connect via ssh.To create normal users you can use either the
system-config-users
tool, or the useradd
command.To check if sshd is running type
And look for output similar tochkconfig --list sshd
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Moreover, the firewall must also allow ssh. Default behavior during install is to have ssh enabled, with the firewall allowing access. You can configure the firewall by using the system-config-securitylevel-tui
utility and selecting 'Customize'. Or you can check the firewall configuration directly by issuingiptables -L
its better to use adduser command like
ReplyDeleteadduser trial