2017-08-09 16:13:12 +02:00
+++
2017-09-17 16:14:11 +02:00
title = "Transports"
2017-08-09 16:13:12 +02:00
+++
2017-09-17 16:14:11 +02:00
{{% alert theme="warning" %}}Under Construction{{% /alert %}}
2017-08-09 16:13:12 +02:00
2017-09-17 16:14:11 +02:00
## Stdinserver
2017-08-09 16:13:12 +02:00
The SSH transport connects to the remote server using the SSH binary in
`$PATH` and the parameters specified in the `zrepl` config file.
However, instead of a traditional interactive SSH session, `zrepl` expects
another instance of `zrepl` on the other side of the connection; You may be
familiar with this concept from [git shell ](https://git-scm.com/docs/git-shell )
or [Borg Backup ](https://borgbackup.readthedocs.io/en/stable/deployment.html ).
2017-09-17 16:14:11 +02:00
Check the examples for instructions on how to set this up on your machines!
2017-08-09 16:13:12 +02:00
{{% panel %}}
The environment variables of the underlying SSH process are cleared. `$SSH_AUTH_SOCK` will not be available. We suggest creating a separate, unencrypted SSH key.
{{% / panel %}}