Skip to main content

Termius ssh-config utility.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

termius-1.2.15.tar.gz (45.1 kB view hashes)

Uploaded Source

Built Distribution

termius-1.2.15-py3-none-any.whl (69.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page