dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 7384b669d300253da2467d25e1f20c465038385b
parent 68a974740f9e8f054524ab1db91e3daaaf81e899
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 26 Oct 2020 12:58:39 +0100

sfeed_sync: use custom ssh key

Diffstat:
M.local/bin/sfeed_sync | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/.local/bin/sfeed_sync b/.local/bin/sfeed_sync @@ -1,4 +1,5 @@ #!/bin/sh -ssh sfeed@adamsgaard.dk "sfeed_update "$HOME/.sfeed/sfeedrc.daily" -ssh sfeed@adamsgaard.dk "sfeed_update "$HOME/.sfeed/sfeedrc" -rsync -az sfeed@adamsgaard.dk:~/.sfeed/ ~/.sfeed/ +key="$HOME/.ssh/id_rsa_sfeed" +ssh -i "$key" sfeed@adamsgaard.dk "sfeed_update "$HOME/.sfeed/sfeedrc.daily" +ssh -i "$key" sfeed@adamsgaard.dk "sfeed_update "$HOME/.sfeed/sfeedrc" +rsync -az -e "ssh -i ${key}" sfeed@adamsgaard.dk:~/.sfeed/ ~/.sfeed/