Skip to content

koenbnl/termius-cli

 
 

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

demo

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

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

Create hosts from ssh config

termius sync ssh

termius vs serverauditor

Export

A serverauditor user used to enter:

$ serverauditor export

Instead of it, a termius user enters:

$ termius sync ssh  # Not required password, or login
$ termius push  # Send all data to the cloud

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

$ termius login  # One time

Import

A serverauditor user used to enter:

$ serverauditor import

But at the moment termius user cannot import data to the ~/.ssh/config (this feature is in the schedule). Instead of it, a termius user enters:

$ termius pull  # Fetch all data from the cloud
$ termius connect use-your-host-alias  # Replace 'use-your-host-alias' with the host alias in the termius database

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

$ termius login  # One time

License

Please see LICENSE.

About

CLI for the ssh client Termius

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 70.6%
  • Shell 29.3%
  • Dockerfile 0.1%