-
-
Notifications
You must be signed in to change notification settings - Fork 809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spin off SSH Agent module? #338
Comments
@dahlbyk do you want to host this? If so, what would we call it? Also, will the upcoming Win32-OpenSSH implementation impact this? |
I might as well. @drusellers suggested
Several of the open issues here are or have been about Win32-OpenSSH, so yes that's in scope. |
+1 for |
I am very bad at naming 😛 |
Has anything happened with this? I'd be down to work on it |
Thanks for the offer, @tamj0rd2! Nobody is actively working on this, as far as I know. Before we spawn off a new repo, it seems like a good idea to try to review/merge the four existing Pull Requests. Do you want to start by taking a look at those, and bringing them up-to-date (conflicts everywhere!) if the changes are good? My time is relatively limited at the moment, but I'm glad to help and answer questions as I'm able. |
I am not sure whether we should support this anymore for windows. |
git-credential-manager is great for HTTPS, but as far as I know it doesn't handle SSH keys: microsoft/Git-Credential-Manager-for-Windows#25. I did find https://github.com/elsteelbrain/ssh-agent-helper via that issue. At this point I'm tempted to just drop the |
HTTPS is the way. We should discourage someone using HTTP ;) I can pickup given that once we clean out this from poshgit and see what we are going to miss/what we need from this |
Hi @dahlbyk et al, as I mentioned on twitter I'm planning to do some work on this over the weekend. This is what I'm currently thinking:
If anyone else has any thoughts on this please let me know I'll post updates on this issue. |
Current progress: #585 |
The primary advantages I see with the Windows the openssh ssh-agent is that A) because it runs as a service, I don't have to configure PowerShell to start the agent. The agent is always running. And B), I don't have to launch my dev tools (Visual Studio) from PowerShell in order for them to work with the ssh-agent. I can launch Visual Studio from my taskbar - which is how I prefer to do that. |
For starters, I'm inclined to fix up the low-hanging SSH stuff (at least #583, maybe look at the open PRs assigned to the SSH Agents milestone?) in the Once that's stable, we can cut it loose into a separate module and drop it from
No preference. I can create a repo here, we can use a repo of your own, or we can see about hosting it under PoshCode. |
Also, it would actually be nice to have native argument completion for ssh, ssh-keygen, ssh-keyscan, ssh-add, sftp, and scp. :-) |
It would! I'd like to address that too.
I'll do separate PRs for these and keep them separate from the work on the standalone module. |
Or, option 3: keep it in this repo, and just manage it better. @JeremySkinner glad to make you a maintainer here to that end. |
Another feature |
I've already talked myself out of this. We'll want to tag posh-ssh versions separately from posh-git. |
Yes I think that's a good idea. We can always take it out in the future once git for windows supports it natively. Do you think the env var is better than modifying the global .gitconfig? Edit: I've just committed an initial attempt at win10 ssh support: #586 |
Good question. I wasn't aware of the .gitconfig setting for this until very recently. Seems like that probably would be a better way to go. OTOH a machine env var would set this for all users but on Windows, how often are there actually mulitple users? Plus setting env vars at the machine level is a pain because it doesn't take effect for all processes until you logout/in or restart. So I'd say, go with the .gitconfig approach. |
Another thing I'd like to add is bookmark manager commands for manipulating the .ssh/config file (similar to how stormssh works). I have a couple of very messy scripts for doing this at the moment. Once the module is split out I'd like to tidy them up and bring them across. |
We can move it elsewhere if y'all want, but I've created https://github.com/dahlbyk/posh-ssh if you want to start creating issues there with a wishlist. Once we get |
Sounds good, thanks |
I'd call this issue resolved by the creation of |
As I alluded to in #328 (comment), a nontrivial number of issues and open PRs here are dedicated to managing
ssh-agent
and Pageant.Since that problem has nothing to do with Git other than Git for Windows being a common distribution path for MSYS, I'd like to spin the SSH Agent bits off into a separate module. Is anyone interested in taking that on?
cc people who have tried to contribute SSH fixes: @theaquamarine (#133) @paulmarsy (#162) @c-mu (#195) @hjoelr (#297) @StefanScherer (#238) @Ventajou (#148) @nitin88 (#295)
The text was updated successfully, but these errors were encountered: