Skip to content

Jrohy/webssh

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
September 28, 2020 13:44
November 19, 2022 15:22
November 19, 2022 15:22
October 16, 2020 13:45
web
December 12, 2022 09:29
September 23, 2020 11:55
September 23, 2020 11:57
February 8, 2021 17:40
March 29, 2022 09:14
April 6, 2021 10:52
April 19, 2023 15:54
April 19, 2023 15:54
December 22, 2021 14:39

webssh

Go Report Card Downloads License
简易在线ssh和sftp工具, 可在线敲命令和上传下载文件

运行截图

avatar avatar

命令行

Usage of ./webssh_linux_amd64:
  -a string
        开启账号密码登录验证, '-a user:pass'的格式传参
  -p int
        服务运行端口 (default 5032)
  -t int
        ssh连接超时时间(min) (default 120)
  -s    保存ssh密码
  -v    显示版本号

原理

+---------+     http     +--------+    ssh    +-----------+
| browser | <==========> | webssh | <=======> | ssh server|
+---------+   websocket  +--------+    ssh    +-----------+

运行

下载release里不同平台的包来执行即可

docker运行:

docker run -d --net=host --log-driver json-file --log-opt max-file=1 --log-opt max-size=100m --restart always --name webssh -e TZ=Asia/Shanghai -e savePass=true jrohy/webssh