diff --git a/content/notes/linux_utils.md b/content/notes/linux_utils.md index 63014d4..d83466d 100644 --- a/content/notes/linux_utils.md +++ b/content/notes/linux_utils.md @@ -110,4 +110,26 @@ tar -xzf yourfile.tar.gz ### sync two dirs ``` unison /path/to/dir/one /path/to/dir/two -``` \ No newline at end of file +``` + +### useradd +```bash +useradd -m -s /bin/bash username +userdel -r username +``` + +### ssh disable password +https://askubuntu.com/questions/1516262/why-is-50-cloud-init-conf-created + +```sh +#/etc/ssh/sshd_config.d/00-only-pubkey-auth.conf +PasswordAuthentication no +ChallengeResponseAuthentication no +UsePam no +``` + +### Network speed monitor +``` +slurm +``` + diff --git a/content/notes/server/Containers.md b/content/notes/server/Containers.md index ddefd62..74f5882 100644 --- a/content/notes/server/Containers.md +++ b/content/notes/server/Containers.md @@ -59,5 +59,3 @@ Restart=always WantedBy=default.target ``` -## CALENDAR -