Open abakum opened 1 month ago
@abakum Thanks. Could you create a PR?
Sorry, my friend, I'm busy
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.
Unfortunately, you cannot disable send keepalive requests in tssh...
I want to make it default to keep-alive.
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 https://github.com/trzsz/trzsz-ssh/commit/0823d9b0f1a9a367d3d59d18fc7a2fbf3221bc14
https://github.com/trzsz/trzsz-ssh/blob/7a1d15b52a4cc400c64f8a77983448ea67c33c43/tssh/login.go#L1094
Please change to
err == nil