ccontavalli / ssh-ident

Different agents and different keys for different projects, with ssh.
Other
963 stars 71 forks source link

pass DISPLAY and SSH_ASKPASS through to ssh-agent if set #34

Closed kevinr closed 1 year ago

kevinr commented 7 years ago

This is a much smaller commit which I believe accomplishes the same goal as #31 and resolves #18.

In keeping with the goal of making ssh-ident behave as closely as possible to how the bare ssh binary behaves, I don't add any extra configuration options, I simply pass the environment variables through to ssh-agent if set.

maddes-b commented 2 years ago

Hi kevinr,

is this still the latest patch for DISPLAY and SSH_ASKPASS, or did you experience other issues after posting it here? Would like to introduce them into the fork at https://github.com/ssh-ident/ssh-ident1 Any information would be great.

Regards Maddes

kevinr commented 2 years ago

Hey Maddes,

Yeah, this is the most recent patch. It worked until I stopped using ssh-ident at some point for unrelated reasons. :) It would be awesome to have it incorporated into the fork!

Best,

maddes-b commented 2 years ago

My actual idea when I saw that topic was: why not make the usage of -i optional. Would passing the complete environment cause other issue?