From 70442731ffbeee164f2de2982f7157985ebbc1f2 Mon Sep 17 00:00:00 2001 From: jonathan santis Date: Tue, 7 Jan 2025 10:56:07 +0100 Subject: [PATCH] add --- borg-example.sh | 2 ++ ssh-reverse-tunnel.sh | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 borg-example.sh create mode 100644 ssh-reverse-tunnel.sh diff --git a/borg-example.sh b/borg-example.sh new file mode 100644 index 0000000..9a24d53 --- /dev/null +++ b/borg-example.sh @@ -0,0 +1,2 @@ +sudo borg create ssh://ccppi@localhost:2000/~/backup/::linode /etc/ /home/ /srv/ /mnt/ --progress + diff --git a/ssh-reverse-tunnel.sh b/ssh-reverse-tunnel.sh new file mode 100644 index 0000000..b824155 --- /dev/null +++ b/ssh-reverse-tunnel.sh @@ -0,0 +1,3 @@ +ssh -R 2000:localhost:22 user@remoteserver + +ssh -p2000 user@localhost