Skip to content

termius/termius-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4dbbd74 · Sep 13, 2017
Mar 20, 2017
Sep 13, 2017
Sep 12, 2017
Sep 13, 2017
Nov 19, 2016
Feb 1, 2016
Feb 4, 2016
Jul 25, 2015
Jan 28, 2016
Jun 5, 2017
Sep 6, 2017
Dec 9, 2016
Nov 19, 2016
Jul 8, 2013
Dec 9, 2016
Jun 5, 2017
Dec 8, 2016
Jun 5, 2017
Dec 8, 2016
Nov 19, 2016
Aug 11, 2017
Feb 10, 2016

Repository files navigation

Termius CLI utility

Build status Code Climate Test Coverage

Provides command line interface for cross-platform terminal Termius.

[this project used to be named serverauditor-sshconfig in the past]

Demo

asciicast

Installation

For macOS users, there is a Homebrew formula. Usage:

$ brew install termius

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 | bash

Termius CLI utility can be installed via pip:

pip install -U termius

or easy_install:

easy_install -U termius

Usage

Init (login, pull, import-ssh-config, push)

termius init

Login to termius.com

termius login

Pull data from termius.com

termius pull

Create host

termius host --address localhost --label myhost

Connect to host

termius connect myhost

Push data to termius.com

termius push

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:

$ serverauditor export

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_user

If a client are not logged in, the next command logs it in:

$ termius login  # One time

Export

A serverauditor user used to enter:

$ serverauditor import

Instead of it, a termius user enters:

$ termius export-ssh-config  # Export to ./termius/sshconfig

License

Please see LICENSE.