CLI client for Geofront, a simple SSH key management server
It provides a CLI client for Geofront, a simple SSH key management server.
$ pipsi install geofront-cli
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
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 email@example.com web-2 firstname.lastname@example.org web-3 email@example.com worker-1 firstname.lastname@example.org worker-2 email@example.com db-1 firstname.lastname@example.org db-2 email@example.com
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:~$
In most cases, you probably need to list remotes to find an alias to SSH before run geofront-cli ssh command. geofront-cli go command is a single command for these two actions at once:
$ geofront-cli go (...interactive fuzzy finder for remotes is shown...) Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 2.6.32-042stab078.27 i686) * Documentation: https://help.ubuntu.com/ ubuntu@web-1:~$
Note that there’s a shortcut command gfg which is an alias of geofront-cli go.
There is geofront-cli scp command as well, which is corresponding to scp:
$ geofront-cli scp file.txt web-1:file.txt file.txt 100% 3157 3.1KB/s 00:00 $ geofront-cli scp -r web-1:path/etc/apt ./ sources.list 100% 3157 3.1KB/s 00:00 trusted.gpg 100% 14KB 13.9KB/s 00:00
Released on May 24, 2017.
Released on May 23, 2017.
Released on April 3, 2017.
Released on Match 30, 2017.
Released on May 31, 2016.
Released on May 28, 2016.
Released on January 15, 2016.
Released on November 14, 2014.
Released on June 29, 2014.
Released on May 3, 2014.
Released on April 22, 2014.
First pre-alpha release. Released on April 21, 2014.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|geofront_cli-0.4.1-py2.py3-none-any.whl (29.8 kB) Copy SHA256 Checksum SHA256||3.6||Wheel||May 24, 2017|
|geofront-cli-0.4.1.tar.gz (23.6 kB) Copy SHA256 Checksum SHA256||–||Source||May 24, 2017|