1.1.3 • Published 4 years ago
enssh v1.1.3
❯ Why use enssh?
- You can use it to manager your all server,don't have to download any software etc.
❯ Getting started
❯ Install
- Because of enssh rely on Node.js, You need to install Node.js first.
https://nodejs.org/en/
- Install enssh
- install with npm:
npm i enssh -g
- install with yarn
yarn global add enssh
❯ Usage
Add server
enssh add <name> <user> <host>
Property | Required? | Type | Description |
---|---|---|---|
name | yes | String | custom server alias |
user | yes | String | remote server user |
host | yes | String | remote server host |
If you do want log in everytime,you can use following options to help you:
-k, --keyPath String
Your private ssh key path.
-p, --password String
Save your password to config file.
Note:we do not recommend you to use this option,because we just save your password directly.
Show server
enssh ls
Remove server
enssh rm <name>
Property | Required? | Type | Description |
---|---|---|---|
name | yes | String | custom server alias |
RUN
enssh run [mode]
Property | Required? | Type | Description |
---|---|---|---|
name | no | LOGIN\PASSWORD\KEYFILE | choice what connect-mode you like. |
-c, --cmd String
Run with command
❯ About
Contributing 👏
If you like enssh, star it please.
Please feel free to submit an issue.
Fork and PR are always welcomed.