{"_id":"ssh-exec","_rev":"234922","name":"ssh-exec","description":"Execute a script over ssh using Node.JS","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"mafintosh","email":""}],"time":{"modified":"2023-03-24T16:20:05.000Z","created":"2013-11-20T10:53:42.980Z","2.0.0":"2016-01-20T12:53:53.965Z","1.4.0":"2016-01-02T13:29:36.711Z","1.3.0":"2015-07-09T12:22:33.381Z","1.2.0":"2015-06-12T17:18:43.767Z","1.1.1":"2015-06-07T23:06:42.120Z","1.1.0":"2015-04-13T21:52:27.387Z","1.0.0":"2015-04-10T05:22:26.263Z","0.3.3":"2015-02-16T18:34:50.324Z","0.3.2":"2014-01-24T12:23:53.814Z","0.3.1":"2013-12-07T20:44:54.246Z","0.2.0":"2013-11-26T00:29:01.160Z","0.1.5":"2013-11-25T21:41:06.876Z","0.1.4":"2013-11-25T19:39:24.185Z","0.1.3":"2013-11-20T16:23:25.342Z","0.1.2":"2013-11-20T16:08:04.329Z","0.1.1":"2013-11-20T16:05:03.346Z","0.1.0":"2013-11-20T10:53:42.980Z"},"users":{},"author":{"name":"Mathias Buus","url":"@mafintosh"},"repository":{"type":"git","url":"git://github.com/mafintosh/ssh-exec.git"},"versions":{"2.0.0":{"name":"ssh-exec","version":"2.0.0","description":"Execute a script over ssh using Node.JS","repository":{"type":"git","url":"git://github.com/mafintosh/ssh-exec.git"},"dependencies":{"duplexify":"^3.2.0","once":"^1.3.3","ssh2":"^0.4.8"},"devDependencies":{"standard":"^3.5.0"},"bugs":{"url":"https://github.com/mafintosh/ssh-exec/issues"},"scripts":{"test":"standard"},"homepage":"https://github.com/mafintosh/ssh-exec","main":"index.js","keywords":["ssh","stream","duplex","exec","connection"],"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","gitHead":"224090885f3230e08d00f847ad9e36ebdca53994","_id":"ssh-exec@2.0.0","_shasum":"1fac54a2a348f347e689289821542724fd573646","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"1fac54a2a348f347e689289821542724fd573646","size":2752,"noattachment":false,"key":"/ssh-exec/-/ssh-exec-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/ssh-exec/download/ssh-exec-2.0.0.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1453294433965,"_hasShrinkwrap":false,"_cnpm_publish_time":1453294433965,"_cnpmcore_publish_time":"2021-12-16T23:46:30.299Z"},"1.4.0":{"name":"ssh-exec","version":"1.4.0","description":"Execute a script over ssh using Node.JS","repository":{"type":"git","url":"git://github.com/mafintosh/ssh-exec.git"},"dependencies":{"duplexify":"^3.2.0","once":"^1.3.3","ssh2":"^0.4.8"},"devDependencies":{"standard":"^3.5.0"},"bugs":{"url":"https://github.com/mafintosh/ssh-exec/issues"},"scripts":{"test":"standard"},"homepage":"https://github.com/mafintosh/ssh-exec","main":"index.js","keywords":["ssh","stream","duplex","exec","connection"],"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","gitHead":"8b32bc190f847bfaa0783a7dc07f6d9ab1dc8679","_id":"ssh-exec@1.4.0","_shasum":"704106007cd5cdb386f84677e287056742898ac8","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"704106007cd5cdb386f84677e287056742898ac8","size":2690,"noattachment":false,"key":"/ssh-exec/-/ssh-exec-1.4.0.tgz","tarball":"http://name.csiicloud.com:7001/ssh-exec/download/ssh-exec-1.4.0.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1451741376711,"_hasShrinkwrap":false,"_cnpm_publish_time":1451741376711,"_cnpmcore_publish_time":"2021-12-16T23:46:30.512Z"},"1.3.0":{"name":"ssh-exec","version":"1.3.0","description":"Execute a script over ssh using Node.JS","repository":{"type":"git","url":"git://github.com/mafintosh/ssh-exec.git"},"dependencies":{"duplexify":"^3.2.0","ssh2":"^0.4.8"},"devDependencies":{"standard":"^3.5.0"},"bugs":{"url":"https://github.com/mafintosh/ssh-exec/issues"},"scripts":{"test":"standard"},"homepage":"https://github.com/mafintosh/ssh-exec","main":"index.js","keywords":["ssh","stream","duplex","exec","connection"],"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","gitHead":"621567d307acb8b9086ed00d0ff2832103bb0896","_id":"ssh-exec@1.3.0","_shasum":"ef711f30f208365cab2ec19c6e1ebe24935527da","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.6","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"ef711f30f208365cab2ec19c6e1ebe24935527da","size":2522,"noattachment":false,"key":"/ssh-exec/-/ssh-exec-1.3.0.tgz","tarball":"http://name.csiicloud.com:7001/ssh-exec/download/ssh-exec-1.3.0.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1436444553381,"_hasShrinkwrap":false,"_cnpm_publish_time":1436444553381,"_cnpmcore_publish_time":"2021-12-16T23:46:30.733Z"},"1.2.0":{"name":"ssh-exec","version":"1.2.0","description":"Execute a script over ssh using Node.JS","repository":{"type":"git","url":"git://github.com/mafintosh/ssh-exec.git"},"dependencies":{"duplexify":"^3.2.0","ssh2":"^0.4.8"},"devDependencies":{"standard":"^3.5.0"},"bugs":{"url":"https://github.com/mafintosh/ssh-exec/issues"},"scripts":{"test":"standard"},"homepage":"https://github.com/mafintosh/ssh-exec","main":"index.js","keywords":["ssh","stream","duplex","exec","connection"],"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","gitHead":"edecb5316f84860c7eb33eab5a658cb60f4f349f","_id":"ssh-exec@1.2.0","_shasum":"8c981ae23adca269dc2f57882aab2e43f05cb8fd","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"8c981ae23adca269dc2f57882aab2e43f05cb8fd","size":2512,"noattachment":false,"key":"/ssh-exec/-/ssh-exec-1.2.0.tgz","tarball":"http://name.csiicloud.com:7001/ssh-exec/download/ssh-exec-1.2.0.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1434129523767,"_hasShrinkwrap":false,"_cnpm_publish_time":1434129523767,"_cnpmcore_publish_time":"2021-12-16T23:46:31.107Z"},"1.1.1":{"name":"ssh-exec","version":"1.1.1","description":"Execute a script over ssh using Node.JS","repository":{"type":"git","url":"git://github.com/mafintosh/ssh-exec.git"},"dependencies":{"duplexify":"^3.2.0","ssh2":"^0.4.6"},"devDependencies":{"standard":"^3.5.0"},"bugs":{"url":"https://github.com/mafintosh/ssh-exec/issues"},"scripts":{"test":"standard"},"homepage":"https://github.com/mafintosh/ssh-exec","main":"index.js","keywords":["ssh","stream","duplex","exec","connection"],"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","gitHead":"d732f8f01b35d4619311d902a830e3f7111c5a0d","_id":"ssh-exec@1.1.1","_shasum":"9e19e0cb0c9a79fac5da556fe239fccdc252988b","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"9e19e0cb0c9a79fac5da556fe239fccdc252988b","size":2441,"noattachment":false,"key":"/ssh-exec/-/ssh-exec-1.1.1.tgz","tarball":"http://name.csiicloud.com:7001/ssh-exec/download/ssh-exec-1.1.1.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1433718402120,"_hasShrinkwrap":false,"_cnpm_publish_time":1433718402120,"_cnpmcore_publish_time":"2021-12-16T23:46:31.429Z"},"1.1.0":{"name":"ssh-exec","version":"1.1.0","description":"Execute a script over ssh using Node.JS","repository":{"type":"git","url":"git://github.com/mafintosh/ssh-exec.git"},"dependencies":{"duplexify":"^3.2.0","ssh2":"^0.4.6"},"devDependencies":{"standard":"^3.5.0"},"bugs":{"url":"https://github.com/mafintosh/ssh-exec/issues"},"scripts":{"test":"standard"},"homepage":"https://github.com/mafintosh/ssh-exec","main":"index.js","keywords":["ssh","stream","duplex","exec","connection"],"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","gitHead":"67cbcfb3202fb3c7713df2fe7476757b8288c808","_id":"ssh-exec@1.1.0","_shasum":"4034e11cbcee5e89fee17b5c7dfaaaf50465baf2","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.4","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"dist":{"shasum":"4034e11cbcee5e89fee17b5c7dfaaaf50465baf2","size":2445,"noattachment":false,"key":"/ssh-exec/-/ssh-exec-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/ssh-exec/download/ssh-exec-1.1.0.tgz"},"directories":{},"publish_time":1428961947387,"_hasShrinkwrap":false,"_cnpm_publish_time":1428961947387,"_cnpmcore_publish_time":"2021-12-16T23:46:31.641Z"},"1.0.0":{"name":"ssh-exec","version":"1.0.0","description":"Execute a script over ssh using Node.JS","repository":{"type":"git","url":"git://github.com/mafintosh/ssh-exec.git"},"dependencies":{"duplexify":"^3.2.0","ssh2":"^0.4.6"},"devDependencies":{"standard":"^3.5.0"},"bugs":{"url":"https://github.com/mafintosh/ssh-exec/issues"},"scripts":{"test":"standard"},"homepage":"https://github.com/mafintosh/ssh-exec","main":"index.js","keywords":["ssh","stream","duplex","exec","connection"],"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","gitHead":"7bb4ab6e4228b04c31ddc73d061e4bb317c40082","_id":"ssh-exec@1.0.0","_shasum":"b5d08ad65b1008ebe64a4ea17f379f4162d9c6ad","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.4","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"dist":{"shasum":"b5d08ad65b1008ebe64a4ea17f379f4162d9c6ad","size":2412,"noattachment":false,"key":"/ssh-exec/-/ssh-exec-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/ssh-exec/download/ssh-exec-1.0.0.tgz"},"directories":{},"publish_time":1428643346263,"_hasShrinkwrap":false,"_cnpm_publish_time":1428643346263,"_cnpmcore_publish_time":"2021-12-16T23:46:31.866Z"},"0.3.3":{"name":"ssh-exec","version":"0.3.3","description":"Execute a script over ssh using Node.JS","repository":{"type":"git","url":"git://github.com/mafintosh/ssh-exec.git"},"dependencies":{"ssh2":"~0.2.14","stream-wrapper":"~0.1.2"},"bugs":{"url":"https://github.com/mafintosh/ssh-exec/issues"},"homepage":"https://github.com/mafintosh/ssh-exec","main":"index.js","keywords":["ssh","stream","duplex","exec","connection"],"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","gitHead":"4a38a987100b268bbbc700acb575a9d570b85b7e","_id":"ssh-exec@0.3.3","scripts":{},"_shasum":"fc71ca865e11abecb94d928da47771922e57ed9f","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"dist":{"shasum":"fc71ca865e11abecb94d928da47771922e57ed9f","size":1955,"noattachment":false,"key":"/ssh-exec/-/ssh-exec-0.3.3.tgz","tarball":"http://name.csiicloud.com:7001/ssh-exec/download/ssh-exec-0.3.3.tgz"},"directories":{},"publish_time":1424111690324,"_hasShrinkwrap":false,"_cnpm_publish_time":1424111690324,"_cnpmcore_publish_time":"2021-12-16T23:46:32.091Z"},"0.3.2":{"name":"ssh-exec","version":"0.3.2","description":"Execute a script over ssh using Node.JS","repository":{"type":"git","url":"git://github.com/mafintosh/ssh-exec.git"},"dependencies":{"ssh2":"~0.2.14","stream-wrapper":"~0.1.2"},"bugs":{"url":"https://github.com/mafintosh/ssh-exec/issues"},"homepage":"https://github.com/mafintosh/ssh-exec","_id":"ssh-exec@0.3.2","dist":{"shasum":"61fa4adb1886b7e87aab98dbefd6c6c34992b897","size":1851,"noattachment":false,"key":"/ssh-exec/-/ssh-exec-0.3.2.tgz","tarball":"http://name.csiicloud.com:7001/ssh-exec/download/ssh-exec-0.3.2.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1390566233814,"_hasShrinkwrap":false,"_cnpm_publish_time":1390566233814,"_cnpmcore_publish_time":"2021-12-16T23:46:32.308Z"},"0.3.1":{"name":"ssh-exec","version":"0.3.1","description":"Execute a script over ssh using Node.JS","repository":{"type":"git","url":"git://github.com/mafintosh/ssh-exec.git"},"dependencies":{"ssh2":"~0.2.14","stream-wrapper":"~0.1.2"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/ssh-exec/issues"},"homepage":"https://github.com/mafintosh/ssh-exec","_id":"ssh-exec@0.3.1","dist":{"shasum":"657db78d321dfd4ed327bb2e6751790f450e2041","size":1777,"noattachment":false,"key":"/ssh-exec/-/ssh-exec-0.3.1.tgz","tarball":"http://name.csiicloud.com:7001/ssh-exec/download/ssh-exec-0.3.1.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1386449094246,"_hasShrinkwrap":false,"_cnpm_publish_time":1386449094246,"_cnpmcore_publish_time":"2021-12-16T23:46:32.535Z"},"0.2.0":{"name":"ssh-exec","version":"0.2.0","description":"Execute a script over ssh using Node.JS","repository":{"type":"git","url":"git://github.com/mafintosh/ssh-exec.git"},"dependencies":{"ssh2":"~0.2.14","stream-wrapper":"~0.1.2"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/ssh-exec/issues"},"homepage":"https://github.com/mafintosh/ssh-exec","_id":"ssh-exec@0.2.0","dist":{"shasum":"7b827ba772196c6880990cec8e3cb65f9d22076b","size":1612,"noattachment":false,"key":"/ssh-exec/-/ssh-exec-0.2.0.tgz","tarball":"http://name.csiicloud.com:7001/ssh-exec/download/ssh-exec-0.2.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1385425741160,"_hasShrinkwrap":false,"_cnpm_publish_time":1385425741160,"_cnpmcore_publish_time":"2021-12-16T23:46:32.741Z"},"0.1.5":{"name":"ssh-exec","version":"0.1.5","description":"Execute a script over ssh using Node.JS","repository":{"type":"git","url":"git://github.com/mafintosh/ssh-exec.git"},"dependencies":{"ssh2":"~0.2.14","stream-wrapper":"~0.1.2","once":"~1.3.0","concat-stream":"~1.2.0"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/ssh-exec/issues"},"homepage":"https://github.com/mafintosh/ssh-exec","_id":"ssh-exec@0.1.5","dist":{"shasum":"c2765fa39d545b233b96af0385a83fe06256cf05","size":1631,"noattachment":false,"key":"/ssh-exec/-/ssh-exec-0.1.5.tgz","tarball":"http://name.csiicloud.com:7001/ssh-exec/download/ssh-exec-0.1.5.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1385415666876,"_hasShrinkwrap":false,"_cnpm_publish_time":1385415666876,"_cnpmcore_publish_time":"2021-12-16T23:46:32.940Z"},"0.1.4":{"name":"ssh-exec","version":"0.1.4","description":"Execute a script over ssh using Node.JS","repository":{"type":"git","url":"git://github.com/mafintosh/ssh-exec.git"},"dependencies":{"ssh2":"~0.2.14","stream-wrapper":"~0.1.2","once":"~1.3.0","concat-stream":"~1.2.0"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/ssh-exec/issues"},"homepage":"https://github.com/mafintosh/ssh-exec","_id":"ssh-exec@0.1.4","dist":{"shasum":"98586f032dc8045c5ee747b3a963b094409ce4ab","size":1551,"noattachment":false,"key":"/ssh-exec/-/ssh-exec-0.1.4.tgz","tarball":"http://name.csiicloud.com:7001/ssh-exec/download/ssh-exec-0.1.4.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1385408364185,"_hasShrinkwrap":false,"_cnpm_publish_time":1385408364185,"_cnpmcore_publish_time":"2021-12-16T23:46:33.116Z"},"0.1.3":{"name":"ssh-exec","version":"0.1.3","description":"Execute a script over ssh using Node.JS","repository":{"type":"git","url":"git://github.com/mafintosh/ssh-exec.git"},"dependencies":{"ssh2":"~0.2.14","stream-wrapper":"~0.1.2"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/ssh-exec/issues"},"homepage":"https://github.com/mafintosh/ssh-exec","_id":"ssh-exec@0.1.3","dist":{"shasum":"a0f2e3b04e7cf087d9ab228bbd200b8380d1eb3d","size":1461,"noattachment":false,"key":"/ssh-exec/-/ssh-exec-0.1.3.tgz","tarball":"http://name.csiicloud.com:7001/ssh-exec/download/ssh-exec-0.1.3.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1384964605342,"_hasShrinkwrap":false,"_cnpm_publish_time":1384964605342,"_cnpmcore_publish_time":"2021-12-16T23:46:33.327Z"},"0.1.2":{"name":"ssh-exec","version":"0.1.2","description":"Execute a script over ssh using Node.JS","repository":{"type":"git","url":"git://github.com/mafintosh/ssh-exec.git"},"dependencies":{"ssh2":"~0.2.14","stream-wrapper":"~0.1.2"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/ssh-exec/issues"},"homepage":"https://github.com/mafintosh/ssh-exec","_id":"ssh-exec@0.1.2","dist":{"shasum":"d630fb7d9bb983ad4ef17721629882318cc681e8","size":1456,"noattachment":false,"key":"/ssh-exec/-/ssh-exec-0.1.2.tgz","tarball":"http://name.csiicloud.com:7001/ssh-exec/download/ssh-exec-0.1.2.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1384963684329,"_hasShrinkwrap":false,"_cnpm_publish_time":1384963684329,"_cnpmcore_publish_time":"2021-12-16T23:46:33.500Z"},"0.1.1":{"name":"ssh-exec","version":"0.1.1","description":"Execute a script over ssh using Node.JS","repository":{"type":"git","url":"git://github.com/mafintosh/ssh-exec.git"},"dependencies":{"ssh2":"~0.2.14","stream-wrapper":"~0.1.2"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/ssh-exec/issues"},"homepage":"https://github.com/mafintosh/ssh-exec","_id":"ssh-exec@0.1.1","dist":{"shasum":"5493210ccb60c934c61b7b7f6384a3f45da0d008","size":1427,"noattachment":false,"key":"/ssh-exec/-/ssh-exec-0.1.1.tgz","tarball":"http://name.csiicloud.com:7001/ssh-exec/download/ssh-exec-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1384963503346,"_hasShrinkwrap":false,"_cnpm_publish_time":1384963503346,"_cnpmcore_publish_time":"2021-12-16T23:46:33.707Z"},"0.1.0":{"name":"ssh-exec","version":"0.1.0","description":"Execute a script over ssh using Node.JS","repository":{"type":"git","url":"git://github.com/mafintosh/ssh-exec.git"},"dependencies":{"ssh2":"~0.2.14","stream-wrapper":"~0.1.2"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/mafintosh/ssh-exec/issues"},"homepage":"https://github.com/mafintosh/ssh-exec","_id":"ssh-exec@0.1.0","dist":{"shasum":"330391e2f7da2b7801ab5141ca67adce523b9ff8","size":1418,"noattachment":false,"key":"/ssh-exec/-/ssh-exec-0.1.0.tgz","tarball":"http://name.csiicloud.com:7001/ssh-exec/download/ssh-exec-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":""}],"directories":{},"publish_time":1384944822980,"_hasShrinkwrap":false,"_cnpm_publish_time":1384944822980,"_cnpmcore_publish_time":"2021-12-16T23:46:33.982Z"}},"readme":"# ssh-exec\n\nExecute a script over ssh using Node.JS and pipe to and from it\n\nIt is available through npm\n\n```\nnpm install ssh-exec\n```\n\nIt is written in plain Javascript and uses [ssh2](https://github.com/mscdex/ssh2) for all the heavy lifting.\n\n## Usage\n\n``` js\nvar exec = require('ssh-exec')\n\n// using ~/.ssh/id_rsa as the private key\n\nexec('ls -lh', 'ubuntu@my-remote.com').pipe(process.stdout)\n\n// or using the more settings\n\nexec('ls -lh', {\n  user: 'ubuntu',\n  host: 'my-remote.com',\n  key: myKeyFileOrBuffer,\n  password: 'my-user-password'\n}).pipe(process.stdout)\n\n// or if you want to pipe some data to the remote process\n\nprocess.stdin\n  .pipe(exec('echo try typing something; cat -', 'ubuntu@my-remote.com'))\n  .pipe(process.stdout)\n```\n\nOptionally there is a callback api as well\n\n``` js\nexec('ls -lh', 'ubuntu@my-remote.com', function (err, stdout, stderr) {\n  console.log(err, stdout, stderr)\n})\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/mafintosh/ssh-exec","bugs":{"url":"https://github.com/mafintosh/ssh-exec/issues"},"license":"MIT"}