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 centosLast updated
Was this helpful?