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
Changelog
Version 0.1.0
First pre-alpha release. Released on April 21, 2014.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file geofront-cli-0.1.0.tar.gz
.
File metadata
- Download URL: geofront-cli-0.1.0.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f97bcfb1759aea1eb8ccc3d6eda9b0beeaac7e70ede6990aa2b385aeea006da8 |
|
MD5 | d8e142da19f12da43ab00e4199b91fbf |
|
BLAKE2b-256 | 3ce4fabdf1d5e3046c04a2790323da0384b793c04cd5b36d03a3853b8ae91ff9 |
File details
Details for the file geofront_cli-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: geofront_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c4c08ba0b4482b636682ee87e719c6c3e9fa2f255358560520a884394612462 |
|
MD5 | 15097e22e3998c551a3e9ef12b74f95e |
|
BLAKE2b-256 | 83b7f71551f83055c48a8eabd15898d05fdfdd13bf4b2a3da4f850af4f263251 |