0.0.2 • Published 11 years ago
ssh-version v0.0.2
ssh-version
Determine the remote version of ssh running on a host
Example
Node Module
var sshversion = require('ssh-version');
sshversion('localhost', function(err, version) {
console.log(version);
});
yields
SSH-2.0-Sun_SSH_1.5
Command Line
$ ssh-version 10.0.1.10
SSH-2.0-Sun_SSH_1.5
$ ssh-version 10.0.1.1
connect ECONNREFUSED
Usage
sshversion(host, [port], function(err, version))
and
usage: ssh-version <host> [port]
Installation
npm install [-g] ssh-version
License
MIT License