{"id":19938070,"url":"https://github.com/dweinstein/node-ssh-agent","last_synced_at":"2026-07-06T20:31:27.914Z","repository":{"id":26860530,"uuid":"30320622","full_name":"dweinstein/node-ssh-agent","owner":"dweinstein","description":"replacement for ssh-agent in node","archived":false,"fork":false,"pushed_at":"2015-06-24T15:24:00.000Z","size":173,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T22:07:31.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dweinstein.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-04T20:53:54.000Z","updated_at":"2017-06-05T15:55:09.000Z","dependencies_parsed_at":"2022-09-01T20:33:54.107Z","dependency_job_id":null,"html_url":"https://github.com/dweinstein/node-ssh-agent","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dweinstein%2Fnode-ssh-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dweinstein%2Fnode-ssh-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dweinstein%2Fnode-ssh-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dweinstein%2Fnode-ssh-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dweinstein","download_url":"https://codeload.github.com/dweinstein/node-ssh-agent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241367124,"owners_count":19951440,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T23:38:18.382Z","updated_at":"2025-10-26T00:18:34.516Z","avatar_url":"https://github.com/dweinstein.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SYNOPSIS\n\nThis agent is a **replacement** for the old ssh-agent. This package includes\nboth a \"server\" and \"client\" scripts for use on the command line. One big\ndifference between this project and\n[macavage's](https://github.com/mcavage/node-ssh-agent) is that this project\ndoes not depend on the archaic\n[ssh-agent](http://linux.die.net/man/1/ssh-agent) and this project allows\nselection of different (stronger) hash [algorithms](lib/events/sign.js#L4) for\nsigning data.\n\n# DETAILS\n\nThis ssh-agent is currently not compatible with the original\n[ssh-agent](https://www.openssh.org) as it communicates over a unix socket but\ndoes not use the same binary protocol and instead uses [line delimited\njson](http://en.wikipedia.org/wiki/JSON_Streaming).\n\nThis code is still being developed significantly. In particular the protocol\ncould change.\n\n# USAGE\nUse the supplied scripts, e.g., `node-ssh-add`, `node-ssh-list` `node-ssh-sign`.\n\n```\n  % node-ssh-agent  \u0026 # start the agent\nlistening on path /tmp/sshagent.sock\n\n  % node-ssh-list\n[]\n\n  % node-ssh-add\nEnter pass phrase for /Users/user/.ssh/id_rsa:\n{ type: 'addKeyResponse',\n  key: 'xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx',\n  fingerprint: 'xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx',\n  message: 'key added' }\n\n  % node-ssh-list\n[ 'xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx' ]\n\n  % node-ssh-sign  # use -k to pass the key id to use\nsupply key id to use\n\n  % echo -ne \"this is a test\" | node-ssh-sign -k xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx\nSsZCyNzGSUU1opoDTIg+7Wg5X/nu3b8knn/coJSXRLzvrdo/RhPM/qVRNqBXV8nFvIyHGdP4cGjqcNU8sps/9wl7Ej+It1rILzxNPqo/rHI0ZfbsNArOIqGG3fE54yap48zgUZkwgg3GqCckyFp55dOiB4s+aEQ5rzDnowe2w/0Kd6eGGC+1duHDQLbNF0drPoxYYmq0cHNFSORaEmigczKZzUkjA2dQ3z4HRzDo4qdjBcHRVblI9CfRqv+V+K2Jma66C972DJdrMPqjrb8iOaJzxrHZPQv+L7NOWkNqJM6bMY5ChQxn39vNaQ26RgD0DLuA9ebIFF4Hc8fF7O2JrA==\n\n```\n\n## CONFIGURATION\n\nThis module uses [`rc`](https://www.npmjs.com/package/rc) for configuration. Therefore it will\nread settings from a file called `~/.sshagentrc`.\n\nCurrently the only configuration options of interest would be the unix socket\n`path` and maybe the default signing algorithm `algorithm`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdweinstein%2Fnode-ssh-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdweinstein%2Fnode-ssh-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdweinstein%2Fnode-ssh-agent/lists"}