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
While following the Inspecting SSH Agent example, I experience a deadlock while trying to list the identities. Snippet of my code provided below.
I have ensured that ssh-agent is running and that keys are available as evident by running ssh-add -l. I am on Windows 10, using Mingw64 (Msys2). Rust version is 1.72.1
use ssh2::Session;fnmain(){let sess = Session::new().unwrap();letmut agent = sess.agent().unwrap();println!("agent created");
agent.connect().unwrap();println!("agent connected");
agent.list_identities().unwrap();println!("identities loaded");let values = agent.identities().unwrap();for v in values {dbg!(&v);}}
Output:
$ eval`ssh-agent`
Agent pid blah
$ ssh-add
Identity added: blah
$ cargo run
agent created
agent connected
After the "agent connected" output is where the exe deadlocks.
The text was updated successfully, but these errors were encountered:
While following the Inspecting SSH Agent example, I experience a deadlock while trying to list the identities. Snippet of my code provided below.
I have ensured that ssh-agent is running and that keys are available as evident by running
ssh-add -l
. I am on Windows 10, using Mingw64 (Msys2). Rust version is 1.72.1Output:
After the "agent connected" output is where the exe deadlocks.
The text was updated successfully, but these errors were encountered: