Registry / networking / ssh2-rsl

ssh2-rsl

JSON →
library0.1.0rscratesunverified

Native bindings to the libssh2 library.

# Cargo.toml [dependencies] ssh2-rsl = "0.1.0"
INSTALL
IMPORT
SIG · SSH2-RSL
S
ssh2-rsl
networkingrustv0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Session
use ssh2_rsl::Session;

Establishes an SSH session using libssh2.

use ssh2_rsl::Session; use std::net::TcpStream; fn main() { let tcp = TcpStream::connect("example.com:22").unwrap(); let mut sess = Session::new().unwrap(); sess.set_tcp_stream(tcp); sess.handshake().unwrap(); println!("SSH session established"); }
Debug
Known issues
gotchaRequires libssh2 system library to be installed.
fix
Install libssh2-dev (Linux) or use vcpkg (Windows).
affects: >=0.1.0
Upgrade
Version history
0.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
ssh2-rsl — cargo add ssh2-rsl · libregistry