Enhance backtunnel-share with improved desktop integration, port collision checks, and pre-flight validations

This commit is contained in:
2025-09-14 14:11:36 +02:00
parent 07dbd79aa2
commit b1dd9bfc83
6 changed files with 61 additions and 3 deletions

View File

@@ -18,7 +18,8 @@ The sharing ends automatically after the given \fIduration\fR via \fBtimeout\fR.
With the \fB--invite\fR option, \fBbacktunnel-share\fR prints a ready-to-copy access command for the remote user,
which can be pasted directly into a chat or terminal. The invite can also be rendered as a QR code or written to a file.
\fBbacktunnel-access\fR mounts the shared folder from the remote side using \fBsshfs\fR by connecting to \fBlocalhost:<port>\fR on the remote host (the port exposed by \fBbacktunnel-share\fR).
\fBbacktunnel-access\fR mounts the shared folder from the remote side using \fBsshfs\fR by connecting to \fBlocalhost:<port>\fR on the remote host
(the port exposed by \fBbacktunnel-share\fR).
.SH OPTIONS
.SS backtunnel-share options
@@ -80,7 +81,7 @@ Share for 1 day, using custom ports:
/home/user/docs with alice:vps.example.com for 1d -p 4422 -l 2222
.TP
Share with invite printed:
Share for 2 hours and print an invite:
.B backtunnel-share
/home/user/docs with alice@vps.example.com for 2h -i