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

Client automatically disconnects after some time #202

Closed
DoubleBoba opened this issue Mar 26, 2023 · 1 comment
Closed

Client automatically disconnects after some time #202

DoubleBoba opened this issue Mar 26, 2023 · 1 comment

Comments

@DoubleBoba
Copy link

Hello! I'm trying to set up my own ssh server. I want the connection to be continuous. But when I connect to the server via my openssh client it disconnects after a few lines of data are received.

There is my code: https://gist.github.com/DoubleBoba/1f4802660329930298ef938c60f899f6
There is ssh client log: https://gist.github.com/DoubleBoba/ddc4423e042cc3051089f4e4c532608c

Can someone help me fix these disconnections? I want the connection to live as long as possible.

@DoubleBoba
Copy link
Author

I fixed it! The problem was in lxc exec command misconfiguration. I set up signals transfer from client to server and everything now is working fine.

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

1 participant