Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ webssh Public
forked from Jrohy/webssh

简易在线终端和sftp工具

License

Notifications You must be signed in to change notification settings

ryoook/webssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

137 Commits

Repository files navigation

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

About

简易在线终端和sftp工具

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 51.4%
  • Go 25.6%
  • JavaScript 13.1%
  • SCSS 4.9%
  • Shell 4.1%
  • HTML 0.6%
  • Dockerfile 0.3%

AltStyle によって変換されたページ (->オリジナル) /