Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

127-ssh

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

127-ssh - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

test/.ssh/config

2

index.js

@@ -10,3 +10,3 @@ var fs = require('fs')

var pattern = new RegExp("Host "+command, "g")
var pattern = new RegExp("Host "+command+"\n", "g")
, sshExist = data.match(pattern)

@@ -13,0 +13,0 @@

{
"name": "127-ssh",
"version": "0.1.1",
"version": "0.1.2",
"description": "Capture your command not found and tries to ssh",
"homepage": "https://github.com/romainberger/127-ssh",
"author":{
"author": {
"name": "Romain Berger",

@@ -16,4 +16,4 @@ "email": "romain@romainberger.com",

"bugs": {
"url" : "https://github.com/romainberger/127-ssh/issues",
"email" : "romain@romainberger.com"
"url": "https://github.com/romainberger/127-ssh/issues",
"email": "romain@romainberger.com"
},

@@ -20,0 +20,0 @@ "main": "index.js",

@@ -28,4 +28,15 @@ # 127 SSH

Let's say you want to ssh into your `coolserver` but you forgot to type `ssh` you'll get:
$ coolserver
zsh: command not found: coolserver
With 127-ssh:
$ coolserver
SSH Host "coolserver" found
user@coolserver.com's password:
# LICENSE
MIT

@@ -1,3 +0,12 @@

var lib = require('./../index')
var lib = require('./../')
, test = require('tap').test
, stdoutFixture = require('fixture-stdout')
, fixture = new stdoutFixture()
, writes = []
lib('whisky')
test('It should find the host and ssh', function(t) {
// change the environnement home path to use the test config file
process.env.HOME = __dirname
t.end()
})
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc