You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { code: Session(-14), msg: "Error parsing PEM: offset out of bounds" }', src/main.rs:71:69
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
using version: 0.9.4
I am able to login to the ec2 instance while using the userauth_pubkey_file(), by providing the path to the privatekey file
The text was updated successfully, but these errors were encountered:
Hi I am facing an issue with ssh2 crate, while trying to login to aws EC2 instance using the private key.
The following code is panicking.
With following error
using version: 0.9.4
I am able to login to the ec2 instance while using the
userauth_pubkey_file()
, by providing the path to the privatekey fileThe text was updated successfully, but these errors were encountered: