ssh-agent-js
v2.0.4
Published
ssh-agent-js
Downloads
27
Readme
Motivation
A pure js drop-in replacement for ssh-agent. This agent is a replacement for the ssh-agent program. This package includes both a "server" and "client" API. This library implements the official agent protocol and is compatible with all ssh clients (ssh & putty)
Client API
new Agent(socket)
await agent.list_keys();
await agent.add_key( privateKey [, alias]);
await agent.remove_key( pubkey || alias || fingerprint);
await agent.remove_all_keys();
await agent.sign( alias || fingerprint, message);
Credits
- 131
- yks ssh-agent https://github.com/131/yks/blob/master/class/apis/ssh_agent.php
- https://tools.ietf.org/html/draft-miller-ssh-agent-00
- https://github.com/131/pageantbridge