GitHub - termius/termius-cli: CLI for the ssh client Termius
Termius CLI utility
Provides command line interface for cross-platform terminal Termius.
[this project used to be named serverauditor-sshconfig in the past]
Demo
Installation
For macOS users, there is a Homebrew formula. Usage:
Note: By default, the command above installs Bash and zsh completions.
For Linux users, there is a bootstrap.sh script. Usage:
$ curl -sSL https://raw.githubusercontent.com/Crystalnix/termius-cli/master/bootstrap.sh | bashTermius CLI utility can be installed via pip:
or easy_install:
Usage
Init (login, pull, import-ssh-config, push)
Login to termius.com
Pull data from termius.com
Create host
termius host --address localhost --label myhost
Connect to host
Push data to termius.com
Import hosts from ssh config
termius import-ssh-config
Export hosts from local storage to ./termius/sshconfig
termius export-ssh-config
termius vs serverauditor
Import
A serverauditor user used to enter:
Instead of it, a termius user enters:
$ termius import-ssh-config # Not required password, or login $ termius push # Send all data to the cloud
To prevent import of some super secure host a termius user
should write special # termius:ignore annotation:
Host super-secure
# termius:ignore
HostName example.com
User secret_userIf a client are not logged in, the next command logs it in:
$ termius login # One timeExport
A serverauditor user used to enter:
Instead of it, a termius user enters:
$ termius export-ssh-config # Export to ./termius/sshconfigLicense
Please see LICENSE.