docs: Fixing useradd and rsync (closes #1)
This commit is contained in:
parent
c1317d7292
commit
201586399c
1 changed files with 4 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
Install required stuff and things on Debian based system
|
||||
$ sudo apt-get install rsync
|
||||
Make a user to have limited access
|
||||
$ sudo useradd adduser --home /varasto/verkkojuuri --system verkkojuuri --shell /bin/sh
|
||||
$ sudo useradd adduser --home /varasto/verkkojuuri --system --shell /bin/sh verkkojuuri
|
||||
$ cd /varasto/verkkojuuri
|
||||
$ sudo -u verkkojuuri ssh-keygen
|
||||
$ sudo -u verkkojuuri cat .ssh/id_rsa
|
||||
|
@ -47,7 +47,9 @@ secrets. In practise you'll make it execute
|
|||
|
||||
``` console
|
||||
$ mkdocs build
|
||||
$ rsync -e "ssh -rclthv --exclude --delete-after .git site/ verkkojuuri@jakest.us:site
|
||||
$ rsync -rclthv --exclude --delete-after .git site/ verkkojuuri@jakest.us:site
|
||||
probs needs flags to allow skipping host verification key or maybe install them
|
||||
using action variables
|
||||
```
|
||||
|
||||
Oh you need it more detailed, okay.
|
||||
|
|
Loading…
Add table
Reference in a new issue