Score:0

ssh sessions disconnect at seemingly random intervals

cn flag

Here's the environment:

  • Local clients vary between Ubuntu 20, MacOS, Windows
  • Server is Ubuntu 18 LTE, problem happens on many different servers
  • SSH sessions established via Luminate. More than 1 Luminate gateway is showing this problem.
  • Both client and server use keepalive in the ssh config
  • It's happening for multiple users in different locations across the globe
  • I don't have this problem in other environments (I can stay connected via ssh to other hosts for weeks from my local connection). It's not my network.

Yet, we randomly get kicked out. Sometimes after 20 minutes. Sometimes after 5 hours. But whenever it happens, all tabs (I usually have 6 or 7 of them at the same time) are killed at the same instant. Sometimes in the middle of typing. Inside vi. Inside a psql session. Doesn't matter if it's idle or not.

Luminate admins say they see nothing in the logs.

auth.log on the server just says "pam_unix(sshd:session): session closed for user"

client says: "***** ssh exit code == 255 ***** Further debug details: Command 'ssh ...' returned non-zero exit status 255. Session time was: 2:02:57 (7377 seconds)"

Any ideas what the hell could be going on here?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.