Comments (12)
i recently started to look into it, no promises though - i also do not want to interfere with any plans that @evsar3 might have
from sshfs-win-manager.
Built-in Windows 10 SSH Agent uses a named pipe for communication instead of a socket as seen in Unix. I wasn't able to find any node package that implementa such communication method.
https://stackoverflow.com/a/32172145 shows an example of using Windows named pipes: basically, you would use net.connect("\\\\.\\pipe\\INSERT_PIPE_NAME_HERE")
if that example is correct. (The pipe is \\.\pipe\INSERT_PIPE_NAME_HERE
but the backslashes have to be backslash-escaped, of course). I haven't tested this myself, but it looks like it's possible.
from sshfs-win-manager.
Worth noting that there's an OpenSSH Authentication Agent service included in Windows 10, though it is disabled by default. But it's simple to enable and start it in the Services app, and it's guaranteed to be there in every Win10 installation. So if you add code to integrate with a key agent, please make sure the built-in Win10 OpenSSH agent is one of the ones you integrate with.
from sshfs-win-manager.
Built-in Windows 10 SSH Agent uses a named pipe for communication instead of a socket as seen in Unix. I wasn't able to find any node package that implementa such communication method.
In order to make this work I guess I will have to write my own client, and this will be a hard work, since I need to study the protocol and implement in JavaScript.
I will also look up for other key management programs and see if they provide a better API.
from sshfs-win-manager.
What about Putty Agent?
from sshfs-win-manager.
I am very sorry. While i thought it would be possible, it turns out that i oversaw an issue and i cant solve this right now. I will keep looking for a solution though.
I hope i can find a solution while digging through https://github.com/ymnk/jsch-agent-proxy/blob/master/jsch-agent-proxy-pageant/src/main/java/com/jcraft/jsch/agentproxy/connector/PageantConnector.java . If anyone has a hint, i would be thankful for a little pointer in the right direction.
from sshfs-win-manager.
+1 for this
from sshfs-win-manager.
Oh yes, all my stuff uses my key loaded in Pageant. Windows Git client, WSL distros, PuTTY itself.... it'd be silly to save my passphrase in each and every SSH-related tool separately...
from sshfs-win-manager.
this would be a great feature, I could maybe use 1password's agent then
from sshfs-win-manager.
Oh yes, all my stuff uses my key loaded in Pageant. Windows Git client, WSL distros, PuTTY itself.... it'd be silly to save my passphrase in each and every SSH-related tool separately...
SSHFS-WIN has no support for the MS port of OpenSSH server and client, its using cygwin ports. Same with putty, pageant. Thats why they can share that ssh-agent.exe.
Git, GNUPG and WSL2 (AF_UNIX proxy) has support for the MS port. Thats why they can share that other ssh-agent.exe.
Its not silly that you have to type your passhprase for each ssh-agent..?
SSHFS-WIN doesnt even support the MS port so its expected that the manager for SSHFS-WIN doesnt either. Just use the cygwin agent for it all as all those clients you mention support it ?
Edit: --
from sshfs-win-manager.
Yes, there’s no support atm, that’s precisely why this ticket exists. Thanks for your invaluable contribution to the topic.
from sshfs-win-manager.
Yes, there’s no support atm, that’s precisely why this ticket exists. Thanks for your invaluable contribution to the topic
ansible/ansible#77277 (comment)
from sshfs-win-manager.
Related Issues (20)
- Invalid user name error when using encrypted private key HOT 9
- The error server CAN NOT delete if we set TRY TO RECONNECT to ON
- not really a issue but a feature i would request
- sshfs.exe cannot be found on default install. HOT 1
- Command line parameters requested
- Error when i connect HOT 1
- connection fails, but spinning icon goes forever HOT 6
- Wrong sshfs IdentityFile parameter when connecting with private key HOT 1
- Username containing special character
- All my disks have been mounted correctly, but the software interface is still circling HOT 2
- The login attempt fails when using the identified key not the name default HOT 2
- Bad owner or permissions HOT 2
- Issue closed but not resolved
- Permssions HOT 1
- No write permission to modify remote files
- Command line option to NOT follow links HOT 1
- connection works but still shows loading in sshfs-win manager HOT 1
- load key : invalid format
- Mounting as a network location HOT 1
- Indefinite loop when not in network HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sshfs-win-manager.