Coder Social home page Coder Social logo

Comments (4)

tsl0922 avatar tsl0922 commented on July 20, 2024 1

ttyd 不是 ssh 客户端,它只是转发 tty 到网页上。

你说的功能理论上来说是可以实现的:只需要 ttyd 支持通过网页 URL 参数自定义启动命令,启动命令可以是 ssh user@host,这样就通过 ttyd 服务器做跳板连接到另一台机器了。

from ttyd.

tsl0922 avatar tsl0922 commented on July 20, 2024 1

可以考虑支持通过 url 接收一个启动命令参数,已创建 issue:#25

from ttyd.

zhangjingl02 avatar zhangjingl02 commented on July 20, 2024

太好了

from ttyd.

botwinter avatar botwinter commented on July 20, 2024

Hi, I have implemented a similar feature to allow client to specify the command and arguments: https://github.com/botwinter/ttyd.

Example URL is:
http://localhost:7681?command=/bin/login&arg1=-f&arg2=bob

--

您好,我实现了类似的功能,以允许客户端指定命令和参数:https://github.com/botwinter/ttyd

示例url是:
http://localhost:7681?command=/bin/login&arg1=-f&arg2=bob

from ttyd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.