Arch users can install Lutra from AUR like above now.
yay -S lutra # Assumes you use the Yay
You'll need ponyc
to build this program. Check ponyc if you don't know what it is.
Run make && sudo make install
to install lutra. Default install destination is /usr/bin/lutra
The default config path is ${HOME}/.config/lutra/lutra.conf
, if not exist the program would automaticly create an empty one.
lutra -a NAME HOST [-p PORT] [-k SSH_KEY_FILE]
lutra NAME
lutra -d NAME
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!!
usage: lutra [options] [node] [dest]
-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:
<node> Given host name
<dest> Destination of the host