Comments (2)
确实是遗漏了标准出错的处理。。可以先用 ls /path/not/exist 2>&1
这种方法workaround一下,会安排进计划
BRs.
from ssh-rs.
已经提交fix对标准出错进行了读取,但是现在还在尝试增加读取上个命令的返回值的功能来判断命令的执行是否成功,可能不会很快更新版本, 可以通过在Cargo.toml里指定库的 url
来使用最新版的 ssh-rs
BRs.
from ssh-rs.
Related Issues (20)
- channel_scp_u 文件的错误 HOT 3
- Data transfer greater than 1GB HOT 1
- Problem with minimum libc version HOT 2
- Looping ssh connection Timeout HOT 9
- Add hmac-sha256 and hmac-512 HOT 4
- user auth failure, auth type is password. HOT 7
- Shell command execution HOT 4
- [Bug] Can't use example to connect to sshd server: key exchange error. HOT 6
- Can you make an example of tokio? HOT 3
- ssh-ed25519 HOT 2
- 读写分离还没有实现? HOT 5
- Exec commands that need sudo HOT 2
- 怎么判断shell.read是否完成呢 HOT 2
- `connect(..)` does not timeout HOT 3
- Tunnel without executing commands HOT 1
- 上传目录能排除某些文件吗 HOT 1
- 是否可以在登录的时候设置StrictHostKeyChecking属性? HOT 8
- 增加任务状态的建议 HOT 1
- How to obtain SshError HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ssh-rs.