aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fripost-docs.org6
1 files changed, 3 insertions, 3 deletions
diff --git a/fripost-docs.org b/fripost-docs.org
index 92920a9..c2a3b5d 100644
--- a/fripost-docs.org
+++ b/fripost-docs.org
@@ -156,11 +156,11 @@ Aptitude
- cat .ssh/backup_key.pub
3. Create a user on the computer that will be backed up
- sudo adduser remupd
- - turn of password using sudo vipw -s
- - add the key to ~remupd/.ssh/authorized_keys2
+ - sudo passwd -d remupd
+ - add the public key from above to ~remupd/.ssh/authorized_keys2
prefix with: no-X11-forwarding,no-agent-forwarding,no-port-forwarding
- test the key:
- ssh -i ~/.ssh/backup_key -l remupd host
+ ssh -i ~/.ssh/backup_key -l remupd example.com
- add remupd to sudo:
Cmnd_Alias RSYNCDIST=/usr/bin/rsync
remupd ALL=NOPASSWD:RSYNCDIST