Code Monkey home page Code Monkey logo

Comments (7)

lonnywong avatar lonnywong commented on June 14, 2024

你是用了 -f 后台运行?然后网络断开时,导致 tssh 进程退出了?

现在 tssh 拉起后台子进程后,父进程就退出了。

感觉可以加个参数,让父进程不退出,让它检测子进程是否存在,若子进程退出了,就重新拉起一个新的子进程。

from trzsz-ssh.

LazyMaple avatar LazyMaple commented on June 14, 2024

是的ssh 端口转发 -f -N 这种,调试的时候临时把端口弄出来。

from trzsz-ssh.

lonnywong avatar lonnywong commented on June 14, 2024

@LazyMaple 是否只要在 tssh 进程退出后,自动拉起一个同样的进程,就可以满足需求?

from trzsz-ssh.

LazyMaple avatar LazyMaple commented on June 14, 2024

是的,如果这样就能满足了,操作起来就不用再用supervisor守护进程一类工具的再包一层了

from trzsz-ssh.

lonnywong avatar lonnywong commented on June 14, 2024

OK,我周末抽空加个 --reconnect 参数。

from trzsz-ssh.

LazyMaple avatar LazyMaple commented on June 14, 2024

好的,感谢

from trzsz-ssh.

lonnywong avatar lonnywong commented on June 14, 2024

tssh v0.1.12 已支持 --reconnect 自动重连。

from trzsz-ssh.

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.