# fyne-demo **Repository Path**: bing050802/fyne-demo ## Basic Information - **Project Name**: fyne-demo - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-10 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # sshtunnel 在GitHub找到一个go语言实现的一个SSH隧道端口转发程序 为了练习fyne界面编程,给这个程序加了GUI ## 运行命令 ``` sshtunnel.exe ./config.json ``` ## 配置示例 ```json [ { "addr": "10.0.0.123:22", "user": "sshuser", "pass": "sshpass", "tunnels": [ { "remote": "10.0.0.111:80", "local": "0.0.0.0:11180" }, { "remote": "10.0.0.111:22", "local": "0.0.0.0:11122" } ] } ] ``` ## 配置说明 配置文件采用JSON文件格式,支持多主机和多转发 - addr: 需要开启SSH隧道的主机地址,格式为【IP地址:端口】 - user: 主机访问用户名 - pass: 主机访问密码,可选配置(未配置时程序将通过控制台输入) - tunnels: 包含的隧道转发 - remote: 开启隧道的远程主机配置,格式为【IP地址:端口】 - local: 开启隧道映射到本地的配置,格式为【IP地址:端口】