1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-01 12:09:10 +00:00

Fix command and add more notes

This commit is contained in:
Dominik Stadler 2023-04-02 11:03:32 +02:00
parent 4216dfd12d
commit 8fab4e4152

View file

@ -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`