0.0.2 • Published 11 years ago

ssh-version v0.0.2

Weekly downloads
5
License
-
Repository
github
Last release
11 years ago

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

0.0.2

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago