From 8fab4e4152f1f410c966a2a6d7cca336b2305fbb Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sun, 2 Apr 2023 11:03:32 +0200 Subject: [PATCH] Fix command and add more notes --- docs/deployment/pull-backup.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/deployment/pull-backup.rst b/docs/deployment/pull-backup.rst index bceb37ba8..607e29224 100644 --- a/docs/deployment/pull-backup.rst +++ b/docs/deployment/pull-backup.rst @@ -455,9 +455,12 @@ In order to achieve this, the following commands can be used to create the remot 1. On machine `myinter` -``ssh bob@myclient -v -C -R 8022:myclient:22 -N`` +``ssh bob@myclient -v -C -R 8022:mybackup:22 -N`` -This will listen for ssh-connections on port `8022` on `myclient`. +This will listen for ssh-connections on port `8022` on `myclient` and forward connections to port 22 on `mybackup`. + +You can also remove the need for machine `myinter` and create the port forwarding on the backup server directly by +using `localhost` instead of `mybackup` 2. On machine `myclient`