1148118271 / ssh-rs

Rust implementation of ssh2.0 client 👻 rust实现的ssh2.0客户端

Home Page:https://docs.rs/ssh-rs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shell command execution

MoskalykA opened this issue · comments

Shell command execution does not work when my command takes longer than 500 milliseconds if the timeout is 500 milliseconds

commented

Yes, there will be such a problem, so you need to set a reasonable timeout.

My orders are not predictable :/

commented

I think I probably understand what you mean, this is indeed a problem, and a more reasonable timeout verification method needs to be redesigned. Thank you very much for your feedback.

Hi @MoskalykA ,

Is this interactive shell example what you want?

BRs.