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

Error parsing ServerAliveInterval and ServerAliveCountMax #150

Open
abakum opened this issue Oct 7, 2024 · 5 comments
Open

Error parsing ServerAliveInterval and ServerAliveCountMax #150

abakum opened this issue Oct 7, 2024 · 5 comments

Comments

@abakum
Copy link

abakum commented Oct 7, 2024

if err != nil {

Please change to err == nil

@lonnywong
Copy link
Member

lonnywong commented Oct 7, 2024

@abakum Thanks. Could you create a PR?

@abakum
Copy link
Author

abakum commented Oct 7, 2024

Sorry, my friend, I'm busy

@abakum
Copy link
Author

abakum commented Oct 7, 2024

Unfortunately, you cannot disable send keepalive requests in tssh...
ServerAliveInterval
Sets a timeout interval in seconds after which if no data has been received from the server, ssh(1) will send a message through the encrypted channel to request a response from the server. The default is 0, indicating that these messages will not be sent to the server.

@lonnywong
Copy link
Member

Unfortunately, you cannot disable send keepalive requests in tssh...

I want to make it default to keep-alive.

lonnywong added a commit that referenced this issue Oct 13, 2024
lonnywong added a commit that referenced this issue Oct 19, 2024
@lonnywong
Copy link
Member

Unfortunately, you cannot disable send keepalive requests in tssh...
ServerAliveInterval
Sets a timeout interval in seconds after which if no data has been received from the server, ssh(1) will send a message through the encrypted channel to request a response from the server. The default is 0, indicating that these messages will not be sent to the server.

fixed 0823d9b

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

2 participants