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:
parent
4216dfd12d
commit
8fab4e4152
1 changed files with 5 additions and 2 deletions
|
@ -455,9 +455,12 @@ In order to achieve this, the following commands can be used to create the remot
|
||||||
|
|
||||||
1. On machine `myinter`
|
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`
|
2. On machine `myclient`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue