{"_id":"ssh-agent","_rev":"370378","name":"ssh-agent","description":"An API for interacting with the SSH Agent.","dist-tags":{"latest":"0.2.4"},"maintainers":[{"name":"mcavage","email":"mcavage@gmail.com"},{"name":"pfmooney","email":"patrick.f.mooney@gmail.com"}],"time":{"modified":"2021-07-26T06:59:14.000Z","created":"2011-06-23T21:39:48.345Z","0.2.4":"2015-07-30T23:19:03.574Z","0.2.3":"2015-02-24T21:16:57.185Z","0.2.2":"2013-10-30T22:09:03.692Z","0.2.1":"2012-09-01T00:35:26.435Z","0.2.0":"2012-08-31T20:24:53.893Z","0.1.0":"2011-06-23T21:39:48.345Z"},"users":{"jacques":true},"author":{"name":"Mark Cavage","email":"mcavage@gmail.com"},"repository":{"type":"git","url":"git://github.com/mcavage/node-ssh-agent.git"},"versions":{"0.2.4":{"author":{"name":"Mark Cavage","email":"mcavage@gmail.com"},"contributors":[{"name":"Dave Eddy","email":"dave@daveeddy.com"},{"name":"Patrick Mooney","email":"patrick.f.mooney@gmail.com"},{"name":"Dave Pacheco","email":"dap@joyent.com"}],"name":"ssh-agent","description":"An API for interacting with the SSH Agent.","version":"0.2.4","repository":{"type":"git","url":"git://github.com/mcavage/node-ssh-agent.git"},"bin":{"ssha-list":"./bin/ssha-list","ssha-sign":"./bin/ssha-sign"},"main":"lib/ssh_agent_client","engines":{"node":">= 0.8"},"dependencies":{"ctype":"0.5.4","posix-getopt":"1.1.0"},"devDependencies":{"faucet":"0.0.1","tape":"3.5.0"},"scripts":{"test":"node ./test/agent.test.js | ./node_modules/.bin/faucet"},"bugs":{"url":"https://github.com/mcavage/node-ssh-agent/issues"},"homepage":"https://github.com/mcavage/node-ssh-agent","_id":"ssh-agent@0.2.4","_shasum":"1815436395ddd852cd801c7b447d447fc573bd94","_resolved":"ssh-agent-0.2.4.tgz","_from":"ssh-agent-0.2.4.tgz","_npmVersion":"1.4.28","_npmUser":{"name":"pfmooney","email":"patrick.f.mooney@gmail.com"},"maintainers":[{"name":"mcavage","email":"mcavage@gmail.com"},{"name":"pfmooney","email":"patrick.f.mooney@gmail.com"}],"dist":{"shasum":"1815436395ddd852cd801c7b447d447fc573bd94","size":4782,"noattachment":false,"key":"/ssh-agent/-/ssh-agent-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/ssh-agent/download/ssh-agent-0.2.4.tgz"},"directories":{},"publish_time":1438298343574,"_cnpm_publish_time":1438298343574,"_hasShrinkwrap":false},"0.2.3":{"author":{"name":"Mark Cavage","email":"mcavage@gmail.com"},"contributors":[{"name":"Dave Eddy","email":"dave@daveeddy.com"},{"name":"Patrick Mooney","email":"patrick.f.mooney@gmail.com"}],"name":"ssh-agent","description":"An API for interacting with the SSH Agent.","version":"0.2.3","repository":{"type":"git","url":"git://github.com/mcavage/node-ssh-agent.git"},"bin":{"ssha-list":"./bin/ssha-list","ssha-sign":"./bin/ssha-sign"},"main":"lib/ssh_agent_client","engines":{"node":">= 0.8"},"dependencies":{"ctype":"0.5.4","posix-getopt":"1.1.0"},"devDependencies":{"faucet":"0.0.1","tape":"3.5.0"},"scripts":{"test":"node ./test/agent.test.js | ./node_modules/.bin/faucet"},"bugs":{"url":"https://github.com/mcavage/node-ssh-agent/issues"},"homepage":"https://github.com/mcavage/node-ssh-agent","_id":"ssh-agent@0.2.3","_shasum":"74ac9ffad6b7eca3c1674686b5613824243f86a9","_resolved":"file:ssh-agent-0.2.3.tgz","_from":"ssh-agent-0.2.3.tgz","_npmVersion":"2.5.1","_nodeVersion":"0.10.36","_npmUser":{"name":"pfmooney","email":"patrick.f.mooney@gmail.com"},"maintainers":[{"name":"mcavage","email":"mcavage@gmail.com"},{"name":"pfmooney","email":"patrick.f.mooney@gmail.com"}],"dist":{"shasum":"74ac9ffad6b7eca3c1674686b5613824243f86a9","size":4706,"noattachment":false,"key":"/ssh-agent/-/ssh-agent-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ssh-agent/download/ssh-agent-0.2.3.tgz"},"directories":{},"publish_time":1424812617185,"_cnpm_publish_time":1424812617185,"_hasShrinkwrap":false},"0.2.2":{"author":{"name":"Mark Cavage","email":"mcavage@gmail.com"},"name":"ssh-agent","description":"An API for interacting with the SSH Agent.","version":"0.2.2","repository":{"type":"git","url":"git://github.com/mcavage/node-ssh-agent.git"},"bin":{"ssha-list":"./bin/ssha-list","ssha-sign":"./bin/ssha-sign"},"main":"lib/ssh_agent_client","engines":{"node":">= 0.8"},"dependencies":{"ctype":"0.5.0","posix-getopt":"1.0.0"},"devDependencies":{"whiskey":"0.6.10"},"scripts":{"test":"./node_modules/.bin/whiskey -t \"`find tst -name *.test.js | xargs`\""},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mcavage/node-ssh-agent/issues"},"_id":"ssh-agent@0.2.2","dist":{"shasum":"d4c92a9d296c3230dcaa451ce7c39eded0e29ceb","size":4905,"noattachment":false,"key":"/ssh-agent/-/ssh-agent-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ssh-agent/download/ssh-agent-0.2.2.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"mcavage","email":"mcavage@gmail.com"},"maintainers":[{"name":"mcavage","email":"mcavage@gmail.com"},{"name":"pfmooney","email":"patrick.f.mooney@gmail.com"}],"directories":{},"publish_time":1383170943692,"_cnpm_publish_time":1383170943692,"_hasShrinkwrap":false},"0.2.1":{"author":{"name":"Mark Cavage","email":"mcavage@gmail.com"},"name":"ssh-agent","description":"An API for interacting with the SSH Agent.","version":"0.2.1","repository":{"type":"git","url":"git://github.com/mcavage/node-ssh-agent.git"},"bin":{"ssha-list":"./bin/ssha-list","ssha-sign":"./bin/ssha-sign"},"main":"lib/ssh_agent_client","engines":{"node":">= 0.8"},"dependencies":{"ctype":"0.5.0","posix-getopt":"1.0.0"},"devDependencies":{"whiskey":"0.6.10"},"scripts":{"test":"./node_modules/.bin/whiskey -t \"`find tst -name *.test.js | xargs`\""},"_id":"ssh-agent@0.2.1","dist":{"shasum":"3044e9eaeca88a9e6971dd7deb19bdcc20012929","size":4877,"noattachment":false,"key":"/ssh-agent/-/ssh-agent-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ssh-agent/download/ssh-agent-0.2.1.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"mcavage","email":"mcavage@gmail.com"},"maintainers":[{"name":"mcavage","email":"mcavage@gmail.com"},{"name":"pfmooney","email":"patrick.f.mooney@gmail.com"}],"directories":{},"publish_time":1346459726435,"_cnpm_publish_time":1346459726435,"_hasShrinkwrap":false},"0.2.0":{"author":{"name":"Mark Cavage","email":"mcavage@gmail.com"},"name":"ssh-agent","description":"An API for interacting with the SSH Agent.","version":"0.2.0","repository":{"type":"git","url":"git://github.com/mcavage/node-ssh-agent.git"},"bin":{"ssha-list":"./bin/ssha-list","ssha-sign":"./bin/ssha-sign"},"main":"lib/ssh_agent_client","engines":{"node":">= 0.8"},"dependencies":{"ctype":"0.5.0","posix-getopt":"1.0.0"},"devDependencies":{"whiskey":"0.6.10"},"scripts":{"test":"./node_modules/.bin/whiskey -t \"`find tst -name *.test.js | xargs`\""},"_id":"ssh-agent@0.2.0","dist":{"shasum":"b3757d9d436f031c6d2e840f52e10b21d50e8648","size":4833,"noattachment":false,"key":"/ssh-agent/-/ssh-agent-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ssh-agent/download/ssh-agent-0.2.0.tgz"},"maintainers":[{"name":"mcavage","email":"mcavage@gmail.com"},{"name":"pfmooney","email":"patrick.f.mooney@gmail.com"}],"directories":{},"publish_time":1346444693893,"_cnpm_publish_time":1346444693893,"_hasShrinkwrap":false},"0.1.0":{"author":{"name":"Mark Cavage","email":"mcavage@gmail.com"},"name":"ssh-agent","description":"An API for interacting with the SSH Agent.","version":"0.1.0","repository":{"type":"git","url":"git://github.com/mcavage/node-ssh-agent.git"},"main":"lib/ssh_agent_client","engines":{"node":">= 0.4"},"dependencies":{"ctype":">=0.0.2"},"devDependencies":{"whiskey":">=0.4.0"},"scripts":{"pretest":"which gjslint; if [[ \"$?\" = 0 ]] ; then  gjslint --nojsdoc -r lib; else echo \"Missing gjslint. Skipping lint\"; fi","test":"SSH_PRIVATE_KEY=$HOME/.ssh/id_rsa ./node_modules/.bin/whiskey -t \"`find tst -name *.test.js | xargs`\""},"_id":"ssh-agent@0.1.0","_engineSupported":true,"_npmVersion":"1.0.10","_nodeVersion":"v0.4.9-pre","_defaultsLoaded":true,"dist":{"shasum":"57d8fb9af927f4b5ba8398f7a2a219b7f7b18900","size":4180,"noattachment":false,"key":"/ssh-agent/-/ssh-agent-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ssh-agent/download/ssh-agent-0.1.0.tgz"},"directories":{},"publish_time":1308865188345,"maintainers":[{"name":"mcavage","email":"mcavage@gmail.com"},{"name":"pfmooney","email":"patrick.f.mooney@gmail.com"}],"_cnpm_publish_time":1308865188345,"_hasShrinkwrap":false}},"readme":"node-ssh-agent is a client binding to the SSH Agent protocol, written in \"pure\"\nnode.js.  For now, the operations supported are \"list keys\" and \"sign data\"\n(which in SSH parlance is `requestIdentities` and `sign`.\n\n## Usage\n\n    var SSHAgentClient = require('ssh-agent');\n\n    var client = new SSHAgentClient();\n    var data = new Buffer('Hello World');\n\n    // Try to sign data with an RSA key (will generate\n    // an RSA-SHA1 signature).\n    client.requestIdentities(function(err, keys) {\n      var key = null;\n      for (var i = 0; i < keys.length; i++) {\n        if (keys[i].type === 'ssh-rsa') {\n          key = keys[i];\n          break;\n        }\n      }\n      if (!key)\n        return;\n\n      client.sign(key, data, function(err, signature) {\n        console.log('Signature: ' + signature.signature);\n      });\n    });\n\n\n## Installation\n\n    npm install ssh-agent\n\n## License\n\nMIT.\n\n## Bugs\n\nSee <https://github.com/mcavage/node-ssh-agent/issues>.\n","_attachments":{},"homepage":"https://github.com/mcavage/node-ssh-agent","bugs":{"url":"https://github.com/mcavage/node-ssh-agent/issues"}}