Git Product home page Git Product logo

Comments (4)

lovelysexly7 avatar lovelysexly7 commented on June 8, 2024

is:issue is:open pls how to set up sish for linux

from sish.

manprint avatar manprint commented on June 8, 2024

Hi @antoniomika,
I hope you are fine.

can you help me to solve this issue?
it's happening often.

For example I have:
The subdomain rve-rizzola.sish.mysite.com is unavailable.

sish1

But before running sish I see from the console that this domain doesn't exist.

After I run sish I see the entry in the console but with listner=0

sish

A thousand thanks.
I hope you continue to develop and improve sish. It's a fantastic tool.

from sish.

antoniomika avatar antoniomika commented on June 8, 2024

Without idle-connections enabled and an extremely high ping interval, tunnels may not be cleaned up until the hour interval has passed.

What you should do is set the ping-client-timeout to something sufficiently short (2 or 3 of the ping intervals is likely appropriate for spotty connections), this would ensure that sish checks' the client periodically to make sure it is online. Then, using that in combination with --force-requested-* and continuous restarts of the client connection, sish will always reconnect to the same tunnel.

from sish.

manprint avatar manprint commented on June 8, 2024

Thanks @antoniomika.

I set sish with these parameters:

	--idle-connection=false \
        --idle-connection-timeout=5s \
        --cleanup-unauthed=true \
	--cleanup-unauthed-timeout=5s \
        --cleanup-unbound=true \
	--cleanup-unbound-timeout=5s \
        --ping-client=true \
        --ping-client-timeout=2s \

Do you think they are good for my use case where the tunnel needs to stay up all the time?

I have another question:

In automatic scripts with systemd I usually use the following command:

ssh -p 2222 -R mysubdomain:80:localhost:8080 sish.mydomain.it -o TCPKeepAlive=yes -o ServerAliveInterval=5 -o ServerAliveCountMax=60

Do you have any recommendations for correctly setting the parameters passed to SSH that can help sish?

from sish.

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.