Skip to content

Latest commit

 

History

History
executable file
·
32 lines (20 loc) · 1.43 KB

README.md

File metadata and controls

executable file
·
32 lines (20 loc) · 1.43 KB

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