> For the complete documentation index, see [llms.txt](https://tritueviet.gitbook.io/server/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tritueviet.gitbook.io/server/add-user.md).

# add user

![](/files/-MCjdvMTL763YdDuy2O2)

```
 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
```
