Replies: 2 comments 5 replies
-
That cant be done, when you sleep your laptop, the remote side will eventually assume the connection is dead and drop the connection. You could theoretically configure the remote side to wait 10 hours before dropping connections, but this is slightly non-trivial to do as it means configuring the ssh daemon and the kernel on the remote machine and it can have unwanted side effects for other connections. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I have been running servers with multi year uptimes for multiple
decades, probably since before you were born. I have **never** used
terminal multiplexers, they are a complete anti-pattern, and always
were, even when terminals were far less capable than they are now.
And I definitely do not appreciate the insinuation that I am lying about
my usage of multiplexers, continue trying to make this personal and I will block
you.
As for your use case, if you really find yourself needing to stay logged
into a remote server overnight, **and** you really want to sleep your laptop
overnight, use one of the may non-multiplexing tools that preserve remote
session across disconnects. Though personally, I would advise you to
change your workflow to do actual work locally rather than when logged
into a server and sync your changes to the server, that's a far more
productive workflow in the long run.
Good luck.
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, this is not a bug report, just something I'm very confused about.
My use case is (I have full control over both the laptop and the server.):
I've used
tmux
for a long time. Kovid says tmux isn't necessary, so I try with kitty+kitten:kitty +kitten ssh
the session feels more persistent than a regularssh
session. It easily survives a couple minutes of sleep. Perhaps it does something similar tomosh
?It would be great if this was addressed in the docs, it's such a common use case! Or perhaps it is addressed and I just can't find it...
Anyways thank you for kitty, it's marvelous!
Beta Was this translation helpful? Give feedback.
All reactions