Browse Source

add rsync

master
Markus Bergholz 1 year ago
parent
commit
662c9cab84
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      til.md

+ 7
- 0
til.md View File

@ -769,3 +769,10 @@ pamu2fcfg -n >> ~/.config/Yubico/u2f_keys # for a 2nd key
auth sufficient pam_u2f.so
```
# rsync
* specify ssh key
* remote sudo
`sudo rsync -Pau --delete --stats --rsync-path="sudo rsync" -e "ssh -i $HOME/.ssh/go.pem" ubuntu@3.121.216.72:~/postgres/ /mnt/osm/`

Loading…
Cancel
Save