3 ms·
What I've always REALLY wanted to see with regards to SSH and the web is an implementation of the SSH Agent API over web sockets or something. That way if I had
by themckman 11y ago
What I've always REALLY wanted to see with regards to SSH and the web is an implementation of the SSH Agent API over web sockets or something. That way if I had some Ansible scripts I wanted to run from a web UI (like something similar to Rundeck) I wouldn't need a key sitting on my server to run those commands. The program invoking Ansible would provide an appropriate value for SSH_AUTH_SOCK that would be connected to my browser and tada. Now, I'm not entirely sure it is feasible, but we've implemented enough crypto in the browser lately, I'd bet it is.
- voltagex_ 11y agoI wonder if you could "bypass" the browser by having a socket on your box that connected to a websocket server (?) that then forwarded your request to the remote box. I haven't had coffee so I'm probably missing something. Edit: https://github.com/mcavage/node-ssh-agent https://github.com/mcavage/node-ssh-agent is interesting. You could have a browser extension that connects back to a local daemon.