We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Greetings,
Is there a way to implement session timeout?
I know that in jsch you can invoke: session.setTimeout(60000);
The text was updated successfully, but these errors were encountered:
Hi, yes this would be very useful.
Sorry, something went wrong.
As a workaround for android devices, you can have the following at line 246 at SshPlugin.java
session.setConfig(properties); session.setTimeout(10000); session.connect();
So every session will have a timeout of 10 secs.
For IOS, it seems to have a default timeout of 10 secs. NSString* response = [session.channel execute:command error:&error timeout:@10];
NSString* response = [session.channel execute:command error:&error timeout:@10];
No branches or pull requests
Greetings,
Is there a way to implement session timeout?
I know that in jsch you can invoke: session.setTimeout(60000);
The text was updated successfully, but these errors were encountered: