ssh-rs
ssh-rs copied to clipboard
Rust implementation of ssh2.0 client 👻 rust实现的ssh2.0客户端
I try to use ssh-rs to authenticate to a freebsd 11 vm (same problem against freebsd 13 btw). BSD VM is freshly installed. Only change: root login allowed. Source VM...
Hi, thanks for providing ssh-rs! When executing long-running commands I get the following log messages: DEBUG [ssh::channel::local::channel] Currently ignore message 99 DEBUG [ssh::channel::local::channel] Currently ignore request [email protected] DEBUG [ssh::channel::local::channel] Currently...
I maintain my own [OpenSSH distribution](https://github.com/Devolutions/openssh-distro) and wonder if ssh-rs could be more than a library, and also include a drop-in replacement for the OpenSSH client ("ssh" executable) supporting the...
When trying to upload individual files with scp, I ran into some `unknown error`s being reported. Looking at the source, it looks like this is the host sending a response...
Hi, just a feature request around scp. I used this project as I ran into difficulties cross-building with bindings to `libssh2` (https://github.com/alexcrichton/ssh2-rs/issues/22). The APIs are very similar so it wasn't...
Somewhat related to #94 but fairly distinct issue: there appear to be bugs around interpreting paths when uploading via scp from a windows localhost to a linux remote host. I...
Would it be possible to retrieve the command exit status and signal status after running a command with ChannelExec\::send_command? exit_status channel request: https://datatracker.ietf.org/doc/html/rfc4254#section-6.10
因为很多命令执行会很耗时,所以希望可以边执行变输出命令的执行结果,而不是一次性等到命令执行完输出所有结果,这个功能现在支持吗?我目前没有看到相关的Demo
exec和scp的执行过程中,可能需要增加一些控制点: - 中断:执行过程可以中断,特别是长时间执行exec或上传下载时 - scp传输完成率:需要有传输总字节数和已完成传输的字节数,方便计算出完成百分比 - 异步:接口调用和结果需要分开,避免长时间的阻塞 建议用mpsc::channel()搭建跨线程的共享缓存,利用缓存记录任务状态,实现以上控制点功能。