-
Notifications
You must be signed in to change notification settings - Fork 109
Windows support #87
Comments
This is a definite goal for us, perhaps in the next few weeks. In the meantime we should have WSL working tonight, but I realize that won't help you with Atom/vscode/etc. Do you currently use puTTY on windows? |
Babun? |
@kcking I don't use puTTY. Most of my ssh usage is via SourceTree, or git directly from PowerShell, but also occasionally OpenSSH directly from PowerShell. |
Ok great, I'll look into integrations for these |
Would be great to get this - We currently use Putty/Pageant on Windows. |
Putty/Pageant +1 |
Another Putty user here. |
One vote for plain git and git bash here. Pretty sure that version is based in mingw. |
Any updates on this support? @kcking |
A contributor is working on this behind the scenes! A bare-bones pageant replacement may be available in the next couple of weeks -- stay tuned! 😄 |
Any update on this issue? :) I, too, would love to use this on Windows! |
We are now working on the next teams product, and as a result have pushed support for windows to next year. Please stay subscribed to this issue for any updates regarding windows. |
now with Microsoft including OpenSSH in Windows 10 (1709), would love to see this working! |
Exciting! I just tried out the ssh client and unfortunately it currently lacks support for RSA host keys as well as ProxyCommand (which has been scoped out of their initial release). Kryptonite uses ProxyCommand to verify the signature of the host you are connecting to. I'll be following this issue PowerShell/Win32-OpenSSH#355 to see when ProxyCommand support is added, but we'll also be considering our previous alternatives if this takes too long. |
+1 for Putty please |
@kcking It looks like ProxyCommand is now supported (if I've followed PowerShell/Win32-OpenSSH#355 correctly). Are we any closer to a Windows version? Edit: Just noticed it was only released 8 hours ago, so I might be a little premature! 😨 |
Once ProxyCommand is fully released and OpenSSH is out of beta on Windows we'll be much closer, my rough estimate now is 2-3 months. |
Another Putty user.. but open to using OpenSSH if that is closer to being available. |
hey guys, any follow-up on this? Will we able to have kryptonite support on windows in the foreseeable future? Thank you very much |
I can confirm that you can use kr if you install Windows Subsystem for Linux, however I’m not sure how close we are to a more “native” solution. |
WSL is currently the only supported method, but I am close to having a full build working on Windows. That being said I unfortunately still don't have a solid timeline for PuTTY/git bash/openssh integration |
I'm going to ask the obvious question, is it really that hard to get this working for mingw64? I'm fine running this through Git Bash on Windows. |
Is support for windows available now Without WSL? |
Yes that’s already supported |
Is it? README.md still doesn’t mention Windows and no commits since last update (in August) mention Windows either |
Oops, I misread that. No not without WSL |
+1 for a pageant stand-in, as I use putty as part of mRemoteNG in most of my workflows. |
Any news on this? Windows 10 has openssh client support and it's possible to have fully compatible client using |
@agrinman Quite relevant. You would want the codesigning and authentication in native Windows applications as well, say Sourcetree. |
FWIW I've been using it with WSL/WSL2 for a long time and it works flawlessly there. Being able to use it with Windows' |
I've managed to hack things together and get working ssh agent support on windows native. It uses the new pipe interface ssh auth sock. This means the native ssh.exe (openssh-portable from Microsoft) will work. Still need to implement fallback agent (also pipe transport), ssh_config manipulation and the whole ProxyCommand - not mandatory. I'll try to push a PR tomorrow. |
The kryptco/go-crypto seems to be out of sync with the vendor dir. Opened up a PR for this kryptco/go-crypto#1 |
Managed to bundle together everything done so far into a #286 . Built binaries available here: https://github.com/zobo/kr/releases/tag/2.4.15-win |
Nicely done! Using this, I'm able to ssh into a server using just Krypton and Windows 10's built-in ssh client. However, I'm not able to clone a repo from github -- Krypton never prompts me to authenticate. I'm not super familiar with how Git for Windows interacts with ssh. I have a feeling I need to tell Git to use the Windows 10 ssh client, or something, but I'm not sure what I'm looking for. Any ideas? |
What is the output of "where ssh.exe" from the command line?
…On Tue, Oct 22, 2019 at 2:07 PM Steven Frank ***@***.***> wrote:
Managed to bundle together everything done so far into a #286
<#286> . Built binaries available here:
https://github.com/zobo/kr/releases/tag/2.4.15-win
All files should be placed into one directory, then run kr pair ...
Terminal was changed to VT mode, but you can also use the new Windows
Terminal that supports by default.
Nicely done!
Using this, I'm able to ssh into a server using just Krypton and Windows
10's built-in ssh client.
[image: ssh success]
<https://user-images.githubusercontent.com/196190/67333284-2788d100-f4d5-11e9-8d43-da2932c63ee4.png>
However, I'm not able to clone a repo from github -- Krypton never prompts
me to authenticate.
[image: git fail]
<https://user-images.githubusercontent.com/196190/67333290-29eb2b00-f4d5-11e9-81e3-e318e4a1710a.png>
I'm not super familiar with how Git for Windows interacts with ssh. I have
a feeling I need to tell Git to use the Windows 10 ssh client, or
something, but I'm not sure what I'm looking for. Any ideas?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#87?email_source=notifications&email_token=AAAAWTG2ZLKEDULPZLNK5PTQP5TPTA5CNFSM4DKADYYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB7GUXQ#issuecomment-545155678>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAWTEM2B6IXAME5H7LGALQP5TPTANCNFSM4DKADYYA>
.
|
Yes, this was also my experience in some other case. Git for windows usually comes bundled with its own ssh.exe and that caused a lot of headache.
However, when running git.exe you probably end up using C:\Program Files\Git\usr\bin\ssh.exe. I solved it by editing ~/.gitconfig
Ps @shanselman What you guys did with SSH and WSL is amazing.
|
Making that edit to .gitconfig worked for me too! Great! I hope this can get merged into the main Krypton distribution. Thanks for working on it! |
YES!!! Where do we document this .gitconfig change to set people up for "it
just works" out of the box success?
…On Tue, Oct 22, 2019 at 4:02 PM Steven Frank ***@***.***> wrote:
Making that edit to .gitconfig worked for me too! Great!
I hope this can get merged into the main Krypton distribution. Thanks for
working on it!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#87?email_source=notifications&email_token=AAAAWTFQ3FSHKBF6BZ4BMSTQP6A7ZA5CNFSM4DKADYYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB7POVY#issuecomment-545191767>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAWTBSW7B5KGOJMJ3Q773QP6A7ZANCNFSM4DKADYYA>
.
|
During installation of Git for Windows, it auto-detects if you have Putty/Pageant/Plink configs, and if so, gives you the option to set up Git to use those. It would be great if GFW could do something similar to detect Krypton and offer to automatically set up .gitconfig to use the Windows built-in ssh client. But obviously that's something we'd have to pursue separately with the GFW team. |
Made an updated build if anyone wants to try. It will handle spaces in installation directory. But you should clean your ~/.ssh/config manually first. |
Using krypton on multiple WSL and Windows environments on the same machine confuses the iOS app because they all have the same hostname. Windows also resets WSL hostname on restart, so I'm not sure if there is a way to permanently change it. To work around that, on WSL I do sudo hostname $(hostname)-wsl
kr pair the actual WSL hostname will revert next reboot/restart. |
@ahmelsayed -- you can also manually change the name of the paired device from within the iOS app. This way it won't overwrite the other pairing. Ideally a full windows kr installation would get these two types integrations to work as one. |
Didn't realize that you can change the hostname on the app. Thanks @agrinman! :) |
@ahmelsayed WSL and win can communicate over UNIX sockets (see one example in this problem domain: https://github.com/vuori/weasel-pageant). So I'd guess it would be possible to have KRD running on windows and KR, KRSSH in WSL. There is some other communication going on between KRSSH and KRD I'd need to look at in more detail.. In theory you could redirect the agent socket to KRD on win now and it should work to some extent.. I'll try it as soon as I can... |
Fixed last build that fails when SSHing: https://github.com/zobo/kr/releases/tag/kr-2.4.15-win3 |
@zobo , new version worked like a charm 👍 |
@zobo that is great! Do you plan on maintaining builds? What we need now is |
@matticala Hey. I'm in talks with the authors to get it officially released... I personally haven't used |
I figured out how to do ssh over aws ssm with kryptonite. Hope this will be a hint for how to use -p option in windows ssh_config file.
|
I need to restart kr daemon in windows very often (maybe once in five minutes) by hitting "kr me" or "kr restart -> kr me" before ssh authentication. I installed kr with chocolately. kr version 2.4.15. does anyone have same problem? |
Hi! I didn't know somebody made a Chocolatey package. Just research how to make a good deployment process for windows. |
@zobo where can I find the logs..? Since krd is running in the background, the logs never shows up in terminal. (since I'm mainly using linux/mac, I'm not familiar with windows, sorry) |
I found the log(.kr/krd)
|
Just wanted to say I also see this in some cases and will investigate it. |
Any update on this? |
guessing given the announcment on the website that the dev stuff is community, and that its lower priority... until someone in the community is given checkin access to the repo and is allowed create builds, it wont be in a production build any time soon... |
Ya, seems like it... We'll see what happens. I use winkr infrequently and don't usually have problems with it. If there are well defined issues I can try to look at them... |
I'd love to be able to use Kryptonite, but I use Windows on my Desktop machine, and use native Windows tools.
I saw that there are people working to get
kr
working on Windows Subsystem for Linux (#54, #71), but it's not clear if that will work with my native Windows tools. For example, I'd love it if when I run git in a PowerShell or from vscode/atom/whatever IDE, if it could connect to thekr
ssh agent for authentication.The text was updated successfully, but these errors were encountered: