add user

sudo useradd user_name
sudo usermod –aG group_name user_name
passwd
vi /etc/ssh/sshd_config
PasswordAuthentication yes
service ssh restart ## for ubuntu
service sshd restart ## for centos
Last updated
Was this helpful?