ssh-agent-js

2.0.4 • Public • Published

Build Status Coverage Status Version License

Code style

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

Readme

Keywords

Package Sidebar

Install

npm i ssh-agent-js

Weekly Downloads

0

Version

2.0.4

License

MIT

Unpacked Size

10.1 kB

Total Files

9

Last publish

Collaborators

  • 131