diff --git a/README.md b/README.md index 2a51134..bca53ad 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,6 @@ Make sure to develop an understanding how zrepl is typically used by studying th │   ├── public_git # checkout of zrepl.github.io managed by above shell script ├── logger # logger package used by zrepl ├── rpc # rpc protocol implementation -├── sshbytestream # io.ReadWriteCloser over SSH ├── util └── zfs # ZFS wrappers, filesystemm diffing ``` diff --git a/cmd/config_job_source.go b/cmd/config_job_source.go index 7a39fb4..b0b41eb 100644 --- a/cmd/config_job_source.go +++ b/cmd/config_job_source.go @@ -220,7 +220,7 @@ func (j *SourceJob) handleConnection(rwc io.ReadWriteCloser, task *Task) { // wait for client to close connection // FIXME: we cannot just close it like we would to with a TCP socket because - // FIXME: sshbytestream's Close() may overtake the remaining data in the pipe + // FIXME: go-nettsh's Close() may overtake the remaining data in the pipe const CLIENT_HANGUP_TIMEOUT = 1 * time.Second task.Log(). WithField("timeout", CLIENT_HANGUP_TIMEOUT). diff --git a/docs/configuration/transports.rst b/docs/configuration/transports.rst index 98a7643..94ae799 100644 --- a/docs/configuration/transports.rst +++ b/docs/configuration/transports.rst @@ -16,7 +16,7 @@ Currently, only the ``ssh+stdinserver`` transport is supported. ----------------------------- The way the ``ssh+stdinserver`` transport works is inspired by `git shell `_ and `Borg Backup `_. -It is implemented in the Go package ``github.com/zrepl/zrepl/sshbytestream``. +It is provided by the Go package ``github.com/problame/go-netssh``. The config excerpts are taken from the :ref:`tutorial` which you should complete before reading further. .. _transport-ssh+stdinserver-serve: