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.0 to 0.1.1

1

index.js

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

if (sshExist) {
console.log('Command not found: '+command)
console.log('SSH Host "'+command+'" found')

@@ -16,0 +17,0 @@ spawn('ssh', [command], {stdio: 'inherit'})

2

package.json
{
"name": "127-ssh",
"version": "0.1.0",
"version": "0.1.1",
"description": "Capture your command not found and tries to ssh",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/romainberger/127-ssh",

@@ -7,3 +7,3 @@ # 127 SSH

To use 127-ssh you need to use zsh (or maybe not, but you'll need something similar to zsh's `TRAPZERR()` hook) and node.
To use 127-ssh you need to use zsh and node.

@@ -17,5 +17,6 @@ Start by installing the package with npm:

command_not_found_handler () {
printf "Command not found: $1"
127-ssh $1
return 127
if type "127-ssh" > /dev/null; then
127-ssh $1
fi
return 127
}

@@ -22,0 +23,0 @@

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