Skip to main content

CLI client for Geofront, a simple SSH key management server

Project description

It provides a CLI client for Geofront, a simple SSH key management server.

Installation

It is available on PyPI, so you can install it using pip installer. Though you have to specify --allow-external and --allow-unverified options (related issues: 1, 2).

$ pip install --allow-external dirspec \
              --allow-unverified dirspec \
              geofront-cli

Getting started

What you have to do first of all is to configure the Geofront server URL. Type geofront-cli start and then it will show a prompt:

$ geofront-cli start
Geofront server URL:

We suppose http://example.com/ here. It will open an authentication page in your default web browser:

$ geofront-cli start
Geofront server URL: http://example.com/
Continue to authenticate in your web browser...
Press return to continue

List available remotes

You can list the available remotes using geofront-cli remotes command:

$ geofront-cli remotes
web-1
web-2
web-3
worker-1
worker-2
db-1
db-2

If you give -v/--verbose option it will show their actual addresses as well:

$ geofront-cli remotes -v
web-1        ubuntu@192.168.0.5
web-2        ubuntu@192.168.0.6
web-3        ubuntu@192.168.0.7
worker-1     ubuntu@192.168.0.25
worker-2     ubuntu@192.168.0.26
db-1 ubuntu@192.168.0.50
db-2 ubuntu@192.168.0.51

SSH to remote

You can easily connect to a remote through SSH. Use geofront-cli ssh command instead of vanilla ssh:

$ geofront-cli ssh web-1
Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 2.6.32-042stab078.27 i686)

 * Documentation:  https://help.ubuntu.com/
ubuntu@web-1:~$

Missing features

  • Wrapper around scp

  • Shortcut for geofront-cli ssh command

  • Make geofront-cli ssh similar to ssh

  • Autocompletion

Author and license

Hong Minhee wrote geofront-cli, and Spoqa maintains it. It is licensed under GPLv3 or later.

Changelog

Version 0.1.1

Released on April 22, 2014.

  • Fixed Python 2 incompatibility.

  • Added warning for non-SSL server URL.

Version 0.1.0

First pre-alpha release. Released on April 21, 2014.

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

geofront-cli-0.1.1.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

geofront_cli-0.1.1-py2.py3-none-any.whl (13.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file geofront-cli-0.1.1.tar.gz.

File metadata

File hashes

Hashes for geofront-cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a5f4cefcf82a44b785ac41519a0a4f77fddddbcddf5b309fc675eae9e6ff1d6b
MD5 e2cbc95a60133d98ee86239a5bd444b6
BLAKE2b-256 cb24b216fc776abc11a491aeb75524ad6b6784bfcf994fe271454c47dfd0d388

See more details on using hashes here.

File details

Details for the file geofront_cli-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for geofront_cli-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c2f4d153e58bd62273ccbf7310ac9aabf79f3a7e5e64e4982a7c39703d734da3
MD5 11ef99ef815e20620df556fc512c3ce3
BLAKE2b-256 f0c3b53034580cfdba0e2ce4db529e7ea4b6cb043b9c808ca5a3ec4e9c3a9c9b

See more details on using hashes here.

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