{"_id":"127-ssh","_rev":"9-a0465810a94c0589ef5f588fdfdbec09","name":"127-ssh","description":"Capture your command not found and tries to ssh","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"127-ssh","version":"0.1.0","description":"Capture your command not found and tries to ssh","homepage":"https://github.com/romainberger/127-ssh","author":{"name":"Romain Berger","email":"romain@romainberger.com","url":"http://romainberger.com"},"repository":{"type":"git","url":"git@github.com:romainberger/127-ssh.git"},"bugs":{"url":"https://github.com/romainberger/127-ssh/issues","email":"romain@romainberger.com"},"main":"index.js","bin":{"127-ssh":"bin/127-ssh"},"license":"MIT","readme":"# 127 SSH\n\nCapture your command not found errors and tries to ssh.\n\n## Installation\n\nTo use 127-ssh you need to use zsh (or maybe not, but you'll need something similar to zsh's `TRAPZERR()` hook) and node.\n\nStart by installing the package with npm:\n\n    npm install -g 127-ssh\n\nThen in your `~/.zshrc` add this:\n\n    command_not_found_handler () {\n       printf \"Command not found: $1\"\n       127-ssh $1\n       return 127\n    }\n\nFor 127-ssh to work, you need to use an ssh config file kept in `~/.ssh/config` and use it to store your ssh hosts.\n\n## Usage\n\nWhenever you type something in your prompt that exit as a command not found, the script will work. It tries to find an ssh configuration with a `Host` corresponding to the command you typed.\n\n# LICENSE\n\nMIT\n","readmeFilename":"README.md","_id":"127-ssh@0.1.0","dist":{"shasum":"0881aeba509a5ef0d281633973b394feb57766f5","tarball":"https://registry.npmjs.org/127-ssh/-/127-ssh-0.1.0.tgz","integrity":"sha512-PLsbTZM8OMQDRFwtQf0kzYaiGZSS+8siJeUjANajAqcaGWaZkEvIBDPzOd/o9GLJXPH/Z6DrsinKVGMwmXKkcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3hUl1hQO5n6U+49XH5mMbxGurUxBM7Be9BMfVRjmLdQIhAOw0CbiM3vrDZz+sONmiyLyS3z4lRhnMISDBciUH5WMn"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"romainberger","email":"romain@romainberger.com"},"maintainers":[{"name":"romainberger","email":"romain@romainberger.com"}]},"0.1.1":{"name":"127-ssh","version":"0.1.1","description":"Capture your command not found and tries to ssh","homepage":"https://github.com/romainberger/127-ssh","author":{"name":"Romain Berger","email":"romain@romainberger.com","url":"http://romainberger.com"},"repository":{"type":"git","url":"git@github.com:romainberger/127-ssh.git"},"bugs":{"url":"https://github.com/romainberger/127-ssh/issues","email":"romain@romainberger.com"},"main":"index.js","bin":{"127-ssh":"bin/127-ssh"},"license":"MIT","readme":"# 127 SSH\n\nCapture your command not found errors and tries to ssh.\n\n## Installation\n\nTo use 127-ssh you need to use zsh and node.\n\nStart by installing the package with npm:\n\n    npm install -g 127-ssh\n\nThen in your `~/.zshrc` add this:\n\n    command_not_found_handler () {\n        if type \"127-ssh\" > /dev/null; then\n            127-ssh $1\n        fi\n        return 127\n    }\n\nFor 127-ssh to work, you need to use an ssh config file kept in `~/.ssh/config` and use it to store your ssh hosts.\n\n## Usage\n\nWhenever you type something in your prompt that exit as a command not found, the script will work. It tries to find an ssh configuration with a `Host` corresponding to the command you typed.\n\n# LICENSE\n\nMIT\n","readmeFilename":"README.md","_id":"127-ssh@0.1.1","dist":{"shasum":"16da8f88ff6588ac3b004afe6f6e182ee73ce4c3","tarball":"https://registry.npmjs.org/127-ssh/-/127-ssh-0.1.1.tgz","integrity":"sha512-q4TSTIYge9JpY2XmJByQFOB6oS9BE6mEkkVI/5ZvG3+o1tAaAdnSKPUWhJz2r4KzMiN4LeCZo8SsiJW/eswYlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIENEPCcwKQBXA78H1U5Dc/83zSAYQxMyT+lZ9TGw/p/+AiEA4YLiGlO9ejaKl5RQ0QRJiQUuJ1GVzzdheJaJzmWqXV8="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"romainberger","email":"romain@romainberger.com"},"maintainers":[{"name":"romainberger","email":"romain@romainberger.com"}]},"0.1.2":{"name":"127-ssh","version":"0.1.2","description":"Capture your command not found and tries to ssh","homepage":"https://github.com/romainberger/127-ssh","author":{"name":"Romain Berger","email":"romain@romainberger.com","url":"http://romainberger.com"},"repository":{"type":"git","url":"git@github.com:romainberger/127-ssh.git"},"bugs":{"url":"https://github.com/romainberger/127-ssh/issues","email":"romain@romainberger.com"},"main":"index.js","bin":{"127-ssh":"bin/127-ssh"},"license":"MIT","readme":"# 127 SSH\n\nCapture your command not found errors and tries to ssh.\n\n## Installation\n\nTo use 127-ssh you need to use zsh and node.\n\nStart by installing the package with npm:\n\n    npm install -g 127-ssh\n\nThen in your `~/.zshrc` add this:\n\n    command_not_found_handler () {\n        if type \"127-ssh\" > /dev/null; then\n            127-ssh $1\n        fi\n        return 127\n    }\n\nFor 127-ssh to work, you need to use an ssh config file kept in `~/.ssh/config` and use it to store your ssh hosts.\n\n## Usage\n\nWhenever you type something in your prompt that exit as a command not found, the script will work. It tries to find an ssh configuration with a `Host` corresponding to the command you typed.\n\nLet's say you want to ssh into your `coolserver` but you forgot to type `ssh` you'll get:\n\n    $ coolserver\n    zsh: command not found: coolserver\n\nWith 127-ssh:\n\n    $ coolserver\n    SSH Host \"coolserver\" found\n    user@coolserver.com's password:\n\n# LICENSE\n\nMIT\n","readmeFilename":"README.md","_id":"127-ssh@0.1.2","dist":{"shasum":"7d879651ad46aae61ea0b0422bf44572cb06e1a6","tarball":"https://registry.npmjs.org/127-ssh/-/127-ssh-0.1.2.tgz","integrity":"sha512-9V0qqMsV4dAU2Ul1EzF53nYGjGxP089e3R/knb4BbvOAyWl6X55oLzFAE8VAo7b+Vc5gyyENejFXoOOPOCyKUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAzx32Qyo43jShK/Ipo1/AxdawlIbZ5DcU3Pf/UcpuaAIgFeX3lis07p4dm2r2dEvQje+2J858kXmOzuibBAOpJQ8="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"romainberger","email":"romain@romainberger.com"},"maintainers":[{"name":"romainberger","email":"romain@romainberger.com"}]}},"readme":"# 127 SSH\n\nCapture your command not found errors and tries to ssh.\n\n## Installation\n\nTo use 127-ssh you need to use zsh (or maybe not, but you'll need something similar to zsh's `TRAPZERR()` hook) and node.\n\nStart by installing the package with npm:\n\n    npm install -g 127-ssh\n\nThen in your `~/.zshrc` add this:\n\n    command_not_found_handler () {\n       printf \"Command not found: $1\"\n       127-ssh $1\n       return 127\n    }\n\nFor 127-ssh to work, you need to use an ssh config file kept in `~/.ssh/config` and use it to store your ssh hosts.\n\n## Usage\n\nWhenever you type something in your prompt that exit as a command not found, the script will work. It tries to find an ssh configuration with a `Host` corresponding to the command you typed.\n\n# LICENSE\n\nMIT\n","maintainers":[{"name":"romainberger","email":"romain@romainberger.com"}],"time":{"modified":"2022-06-12T14:05:40.969Z","created":"2013-12-23T12:53:49.045Z","0.1.0":"2013-12-23T12:53:51.961Z","0.1.1":"2013-12-23T13:03:46.935Z","0.1.2":"2013-12-28T12:33:53.937Z"},"author":{"name":"Romain Berger","email":"romain@romainberger.com","url":"http://romainberger.com"},"repository":{"type":"git","url":"git@github.com:romainberger/127-ssh.git"}}