Introduce backtunnel-access-gui wrapper for streamlined folder access with profile defaults and GUI dialogs; update desktop file and README to reflect changes.

This commit is contained in:
2025-09-14 20:17:36 +02:00
parent 4efcff2739
commit 4aea52994c
3 changed files with 68 additions and 14 deletions

View File

@@ -10,10 +10,4 @@ X-KDE-Priority=TopLevel
[Desktop Action BackTunnelAccess]
Name=Access via BackTunnel…
Icon=folder-remote
Exec=bash -lc '
FOLDER="%f";
REMOTE="$(kdialog --inputbox "Remote (user@host or user:host):" "user@vps.example.com")" || exit 1;
PORT="$(kdialog --inputbox "Tunnel port on remote:" "2222")" || exit 1;
MP="$(kdialog --getexistingdirectory --title "Choose mount point" "/mnt/remote-rssh")" || exit 1;
konsole --noclose -e backtunnel-access "$FOLDER" from "$REMOTE" -p "$PORT" -m "$MP"
'
Exec=backtunnel-access-gui %f