Sign inSign up

wtf111/ssh-web-terminal

By wtf111

Updated 11 months ago

Image
0

8.9K

wtf111/ssh-web-terminal repository overview

SSH Web Terminal

Web SSH终端 + SFTP文件管理器,支持移动端,一键部署。 由droid使用Claude 4.5构建


✨ 核心特性

  • 🖥️ SSH终端 - 完整终端模拟,支持中文输入,会话持久化
  • 📁 SFTP管理 - 智能路径同步,在线编辑,系统文件保护
  • 📱 移动优化 - 响应式设计,智能快捷键,完美支持手机/平板
  • 🔒 安全可靠 - 局域网IP限制,密码/密钥认证
  • 📝 命令历史 - 自动记录,支持收藏

🚀 快速部署

一键启动
docker run -d \
  --name ssh-web-terminal \
  -p 9198:9198 \
  --restart unless-stopped \
  wtf111/ssh-web-terminal:latest

访问:http://localhost:9198

docker-compose
version: '3.8'
services:
  ssh-web-terminal:
    image: wtf111/ssh-web-terminal:latest
    ports:
      - "9198:9198"
    environment:
      - ALLOW_LAN_ONLY=true  # 仅局域网访问
    volumes:
      - ./data:/app/data     # 数据持久化
    restart: unless-stopped
docker-compose up -d

⚙️ 配置

环境变量
变量默认值说明
PORT9198服务端口
ALLOW_LAN_ONLYtrue局域网限制(仅10.x, 172.16-31.x, 192.168.x可访问)
数据持久化
volumes:
  - ./data:/app/data  # 保存SSH配置和命令历史
端口自定义
ports:
  - "8080:9198"  # 改用8080端口

📱 使用

  1. 访问 http://localhost:9198
  2. 点击"设置" → 填写SSH信息 → "连接"
  3. 使用终端执行命令
  4. 点击"文件"按钮管理文件(自动同步终端当前目录)
  5. 点击"历史"查看命令记录

Tag summary

Content type

Image

Digest

sha256:9669d6369

Size

44.9 MB

Last updated

11 months ago

docker pull wtf111/ssh-web-terminal