Metadata-Version: 2.1
Name: termius
Version: 1.2.15
Summary: Termius ssh-config utility.
Home-page: https://github.com/termius/termius-cli
Author: Termius Corporation
Author-email: hello@termius.com
License: BSD
Keywords: termius,crystalnix
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: System Administrators
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Utilities
Requires-Dist: cliff (==2.7.0)
Requires-Dist: stevedore (>=1.10.0)
Requires-Dist: requests (>=2.7.0)
Requires-Dist: six (>=1.10.0)
Requires-Dist: ndg-httpsclient (>=0.4.0)
Requires-Dist: cached-property (>=1.3.0)
Requires-Dist: paramiko (>=1.16.0)
Requires-Dist: pathlib2 (>=2.1.0)
Requires-Dist: blinker (>=1.4)
Requires-Dist: google-measurement-protocol (==0.1.6)
Requires-Dist: pyopenssl (<=19.1.0,>=0.15.1) ; python_version == "2.7" or python_version == "3.5"
Requires-Dist: cryptography (==3.2) ; python_version == "3.5" or python_version == "2.7"
Requires-Dist: cryptography (>=3.2) ; python_version >= "3.6"
Requires-Dist: pyopenssl (>=0.15.1) ; python_version >= "3.6"

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 <http://brew.sh/>`__ formula.
Usage:

.. code:: bash

   $ brew install termius

**Note**: By default, the command above installs Bash and zsh
completions.

For Linux users, there is a ``bootstrap.sh`` script. Usage:

.. code:: bash

   $ curl -sSL https://raw.githubusercontent.com/Crystalnix/termius-cli/master/bootstrap.sh | bash

Termius CLI utility can be installed via
`pip <http://www.pip-installer.org/en/latest/index.html>`__:

.. code:: bash

   pip install -U termius

or `easy_install <http://pythonhosted.org/distribute/>`__:

.. code:: bash

   easy_install -U termius

Usage
-----

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

.. code:: bash

   termius init

Login to termius.com

.. code:: bash

   termius login

Pull data from termius.com

.. code:: bash

   termius pull

Create host

.. code:: bash

   termius host --address localhost --label myhost

Connect to host

::

   termius connect myhost

Push data to termius.com

.. code:: bash

   termius push

Import hosts from ssh config

.. code:: bash

   termius import-ssh-config

Export hosts from local storage to ./termius/sshconfig

.. code:: bash

   termius export-ssh-config

``termius`` vs ``serverauditor``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Import
^^^^^^

A ``serverauditor`` user used to enter:

.. code:: bash

   $ serverauditor export

Instead of it, a ``termius`` user enters:

.. code:: bash

   $ 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:

.. code:: bash

   Host super-secure
       # termius:ignore
       HostName example.com
       User secret_user

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

.. code:: bash

   $ termius login  # One time

Export
^^^^^^

A ``serverauditor`` user used to enter:

.. code:: bash

   $ serverauditor import

Instead of it, a ``termius`` user enters:

.. code:: bash

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

License
-------

Please see
`LICENSE <https://github.com/termius/termius-cli/blob/master/LICENSE>`__.

.. |Build status| image:: https://travis-ci.org/termius/termius-cli.svg?branch=master
   :target: https://travis-ci.org/termius/termius-cli
.. |Code Climate| image:: https://codeclimate.com/github/termius/termius-cli/badges/gpa.svg
   :target: https://codeclimate.com/github/termius/termius-cli
.. |Test Coverage| image:: https://codeclimate.com/github/termius/termius-cli/badges/coverage.svg
   :target: https://codeclimate.com/github/termius/termius-cli/coverage
.. |asciicast| image:: https://asciinema.org/a/6ilu50dbofnkufy2hux3ghhx4.svg
   :target: https://asciinema.org/a/6ilu50dbofnkufy2hux3ghhx4?speed=2


