Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Session terminated" in every 10-20 seconds #83

Open
sn-harikrishnaddepalli opened this issue Aug 18, 2020 · 4 comments
Open

"Session terminated" in every 10-20 seconds #83

sn-harikrishnaddepalli opened this issue Aug 18, 2020 · 4 comments

Comments

@sn-harikrishnaddepalli
Copy link

sn-harikrishnaddepalli commented Aug 18, 2020

Hello.,

Below is the command triggered :

/opt/tmate-ssh-server/tmate-ssh-server -p 2224 -q 2224 -k /opt/keys -h tmate.example.com

When testing, i am getting "session terminated" in every 10 seconds for new sessions, what is the resolution to avoid seeing "terminated sessions" and avoid causing disruption to remote ssh access ?

Loading key /opt/keys/ssh_host_rsa_key
Loading key /opt/keys/ssh_host_ed25519_key
Accepting connections on :2224
[jUhj...] Spawning daemon ip=10.0.50.11
[jUhj...] tmate version=2.4.0, protocol=6
[jUhj...] sysname=Linux machine=x86_64 release=4.14.154-128.181.amzn2.x86_64 version=#1 SMP Sat Nov 16 21:49:00 UTC 2019 nodename=agent-teams-scm1-0-it-xk94m
[jUhj...] Spawning pty client ip=10.0.50.116
[jUhj...] Client joined (cid=1)
[jUhj...] Client left (cid=1)
[jUhj...] Session terminated¿
[XSbY...] Spawning daemon ip=10.0.50.118
[XSbY...] tmate version=2.4.0, protocol=6
[XSbY...] sysname=Linux machine=x86_64 release=4.14.154-128.181.amzn2.x86_64 version=#1 SMP Sat Nov 16 21:49:00 UTC 2019 nodename=agent-teams-scm1-0-it-xk94m
[XSbY...] Session terminated
[svxn...] Spawning daemon ip=10.0.50.125
[svxn...] tmate version=2.4.0, protocol=6
[svxn...] sysname=Linux machine=x86_64 release=4.14.154-128.181.amzn2.x86_64 version=#1 SMP Sat Nov 16 21:49:00 UTC 2019 nodename=agent-teams-scm1-0-it-xk94m
[svxn...] Session terminated
[3XDm...] Spawning daemon ip=10.0.50.139
[3XDm...] tmate version=2.4.0, protocol=6
[3XDm...] sysname=Linux machine=x86_64 release=4.14.154-128.181.amzn2.x86_64 version=#1 SMP Sat Nov 16 21:49:00 UTC 2019 nodename=agent-teams-scm1-0-it-xk94m
[3XDm...] Session terminated
[xLVd...] Spawning daemon ip=10.0.50.138
[xLVd...] tmate version=2.4.0, protocol=6
[xLVd...] sysname=Linux machine=x86_64 release=4.14.154-128.181.amzn2.x86_64 version=#1 SMP Sat Nov 16 21:49:00 UTC 2019 nodename=agent-teams-scm1-0-it-xk94m
[xLVd...] Session terminated
[jPaV...] Spawning daemon ip=10.0.50.145
[jPaV...] tmate version=2.4.0, protocol=6
[jPaV...] sysname=Linux machine=x86_64 release=4.14.154-128.181.amzn2.x86_64 version=#1 SMP Sat Nov 16 21:49:00 UTC 2019 nodename=agent-teams-scm1-0-it-xk94m
[jPaV...] Session terminated
[jUhj...] Session terminated^C
@cryptomilk
Copy link
Contributor

Which libssh version do you use?

@indranilvyasFlipp
Copy link

I've encountered same issue and I'm using tmate/tmate-ssh-server:prod image available on Dockerhub, I tried using latest image and same issue

@julienduchesne
Copy link

I'm getting the same issue with the latest image which uses libssh 0.9.5

@cryptomilk
Copy link
Contributor

I think this should be fixed with libssh 0.9.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants