[](http://creativecommons.org/licenses/by/4.0/)
[](https://travis-ci.org/thomai/SSHKeyDistribut0r)
SSHKeyDistribut0r has been written to make SSH key distribution easier
for sysop teams.

# How to use
## Install
```
pip install SSHKeyDistribut0r
```
## Create configuration files
First, copy the YAML sample files to your users config directory and customize them.
The sample files should be in
`$HOME/.local/share/SSHKeyDistribut0r/config_sample`,
`/usr/local/share/SSHKeyDistribut0r/config_sample` or
`/usr/share/SSHKeyDistribut0r/config_sample`
The config files need to be copied to `$USER_CONFIG_DIR/SSHKeyDistribut0r/`
(`$HOME/.config/...` on most Linux systems, check `SSHKeyDistribut0r -h` for
the location on your system)
The keys.yml file has to contain all users which are used in the
servers.yml file. Every entry in the YML structure requires the
following attributes:
The `fullname` is a string value to mention the full name of a person.
`keys` is a list of SSH keys in the format `ssh-rsa <KEY> <comment>`.
The servers.yml file contains all servers with the specified user
permissions. It consists of a list of dictionaries with the following
attributes:
* `ip`: String value in the format `XXX.XXX.XXX.XXX`
* `port`: Integer value which specifies the SSH port
* `user`: String value which specifies the system user to log in.
* `comment`: String value to describe the system
* `authorized_users`: List of strings which specify a user. Every user
has to be declared in the keys.yml file as a key.
## Usage
Run `SSHKeyDistribut0r` to distribute your SSH keys :)
### Options
* `--dry-run`/`-n`: To verify your configuration whithout actually applying those changes.
* `--keys`/`-k`: Custom path to keys file
* `--server`/`-s`: Custom path to server file
[](https://travis-ci.org/thomai/SSHKeyDistribut0r)
SSHKeyDistribut0r has been written to make SSH key distribution easier
for sysop teams.

# How to use
## Install
```
pip install SSHKeyDistribut0r
```
## Create configuration files
First, copy the YAML sample files to your users config directory and customize them.
The sample files should be in
`$HOME/.local/share/SSHKeyDistribut0r/config_sample`,
`/usr/local/share/SSHKeyDistribut0r/config_sample` or
`/usr/share/SSHKeyDistribut0r/config_sample`
The config files need to be copied to `$USER_CONFIG_DIR/SSHKeyDistribut0r/`
(`$HOME/.config/...` on most Linux systems, check `SSHKeyDistribut0r -h` for
the location on your system)
The keys.yml file has to contain all users which are used in the
servers.yml file. Every entry in the YML structure requires the
following attributes:
The `fullname` is a string value to mention the full name of a person.
`keys` is a list of SSH keys in the format `ssh-rsa <KEY> <comment>`.
The servers.yml file contains all servers with the specified user
permissions. It consists of a list of dictionaries with the following
attributes:
* `ip`: String value in the format `XXX.XXX.XXX.XXX`
* `port`: Integer value which specifies the SSH port
* `user`: String value which specifies the system user to log in.
* `comment`: String value to describe the system
* `authorized_users`: List of strings which specify a user. Every user
has to be declared in the keys.yml file as a key.
## Usage
Run `SSHKeyDistribut0r` to distribute your SSH keys :)
### Options
* `--dry-run`/`-n`: To verify your configuration whithout actually applying those changes.
* `--keys`/`-k`: Custom path to keys file
* `--server`/`-s`: Custom path to server file
Metadata
Release files for SSHKeyDistribut0r 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| SSHKeyDistribut0r-0.2.1.tar.gz | 7.3 kB | Details |
Release files / SSHKeyDistribut0r-0.2.1.tar.gz
| Download URL | SSHKeyDistribut0r-0.2.1.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfdbcd7eb7d3187ed93f2cad132f253fb2db0edce51369329e4633edcacd2256
|
|
BLAKE2b-256 checksum How to use checksums |
e84fb93ebbcc441aae4ce20e8b47774d3cbe08a5081a8589215bb88a717fa165
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.3
|