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

Cannot specify timeout #62

Open
kaliberx opened this issue Nov 24, 2022 · 1 comment
Open

Cannot specify timeout #62

kaliberx opened this issue Nov 24, 2022 · 1 comment

Comments

@kaliberx
Copy link

I'm using ssh2 extension. Unfortunately sometimes ssh2_sftp function waits forever because there is no way to specify timeout.

Please consider adding parameter timeout to ssh2_connect function (as in ftp_connect) or implement method ssh2_settimeout. I think it can be easily implemented because libssh supports libssh2_session_set_timeout().

@FoxKeys
Copy link

FoxKeys commented Jan 21, 2024

Same problem. ssh2_sftp() hungs forever...

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