You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
322 B

### Add New User
```
adduser <username>
usermod -aG sudo <username>
```
### Prevent timeout from ssh
```
nano /etc/ssh/sshd_config
```
```
ClientAliveInterval 120
ClientAliveCountMax 720
```
### Check Timezone
```
dpkg-reconfigure tzdata
```
### add
```
ssh-keygen -t rsa -b 4096 -f ~/.ssh/gitea -C $(hostname)
```