0.1.0 • Published 6 years ago
ssh-login v0.1.0
ssh-login
A tool for ssh login
Q: How to automate ssh with password
A: SSH key (Detail)
Install
$ npm i -g ssh-login
$ ssh-login -h
Usage
ssh-login add <name> <hostname>
Add a ssh-login config line
eg:
ssh-login add myserver root@myserver.ip
ssh-login ls
List all ssl-login config lines
eg:
ssh-login ls
ssh-login <name>
Login the key
name
eg:
ssh-login myserver
ssh-login rm <name>
Remove the ssh-login config line matching the key
name
eg:
ssh-login rm myserver
License
0.1.0
6 years ago