https://github.com/code-monad/lutra
A Simple CommandLine Security-Shell Manager written in Pony π΄
https://github.com/code-monad/lutra
cli ponylang ssh ssh-keys ssh-manager ssh-manager-cli
Last synced: 2 months ago
JSON representation
A Simple CommandLine Security-Shell Manager written in Pony π΄
- Host: GitHub
- URL: https://github.com/code-monad/lutra
- Owner: code-monad
- License: bsd-2-clause
- Created: 2019-12-22T00:53:57.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-23T05:06:23.000Z (over 5 years ago)
- Last Synced: 2024-12-27T21:42:13.562Z (4 months ago)
- Topics: cli, ponylang, ssh, ssh-keys, ssh-manager, ssh-manager-cli
- Language: Pony
- Size: 25.4 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lutra - A Simple CommandLine Security-Shell Manager written in Pony π΄
[δΈζθ―΄ζ](./README.zh.md)
## Installation
Arch users can install Lutra from AUR like above now.
```shell
yay -S lutra # Assumes you use the Yay
```## Build From Source
### Dependency
You'll need `ponyc` to build this program. Check [ponyc](https://github.com/ponylang/ponyc) if you don't know what it is.
### Install
Run `make && sudo make install` to install lutra. Default install destination is `/usr/bin/lutra`
## Usage
The default config path is `${HOME}/.config/lutra/lutra.conf`, if not exist the program would automaticly create an empty one.
### Add A Named Host
`lutra -a NAME HOST [-p PORT] [-k SSH_KEY_FILE]`
### Connect to A Exist Named Host
`lutra NAME`
### Delete A Named Host
`lutra -d NAME`
### Set A Host as Default
`lutra -u test -s`
After this command, lutra will use `test` as default host.
*If no default host was set, program will choose the first one in the config.*
`lutra # connet to test now!οΌ`
### Parameters
**usage: lutra [options] [node] [dest]**
#### Options:
-i, --identify Specify a username to connect with
-l, --list List all nodes
-h, --help Get this page.
-a, --add Adding a new node
-s, --default Set a node as default
-f, --apply Applying a new config file
-d, --delete Deleting a node
-k, --key Which ssh key to use
-u, --update Update a node
-p, --port=22 Connection port, default to be 22
Args:
Given host name
Destination of the host