控制公钥的下载/上载。
publicke的Python项目详细描述
# 機能概要
* YAMLに設定したユーザーの公開鍵をGithubからダウンロード
* YAMLに設定したホストにauthrized_keysファイルを配置
* YAMLの設定から~/.ssh/config 用ファイルを生成
## YAMLの例
sample.yml:
```
group:
- &developers
- oyakata #Yakata Imagawa公司超级用户
-oyakata-yakata-imagawa-yakata-yakata-imagawa
development.example.com.com:
title:www.283;br/>
hostname:127.0.0.1
>成员:*开发人员
tagg:develop
exampl.com:
title:www.开发人员
成员:*超级用户:*超级用户<用户
标签:生产###~/.ssh/config_ssh_config
生成された ssh_config:
```
Host example.com
# 本番環境
HostName 127.0.0.1
Port 22
User ubuntu
IdentityFile ~/.ssh/id_rsa
ServerAliveInterval 120
```
### Githubの公開鍵を一括取得
$ publickey get sample.yml development.example.com > 授权密钥oyakata,feiz 37749;
$publickey get sample.yml example.com>;authorized_keys # oyakataの鍵のみ
### ファイルをホストに配置
$ publickey put -s authorized_keys example.com # ファイルを指定してput
$ publickey put -e sample.yml example.com # Githubの鍵をダウンロードしてput
2015-02-08:
* change 'put' operation.
*当公钥身份验证失败时,使用密码身份验证重试。
2014-10-24:version“0.1”
*支持“get/put”操作。
2014-10-24:version“0.2”
*支持“config”操作(从yaml生成~/.ssh/config)。
2014-10-31:version“0.2.2”
*支持“echo”操作(尝试连接远程主机)。
* YAMLに設定したユーザーの公開鍵をGithubからダウンロード
* YAMLに設定したホストにauthrized_keysファイルを配置
* YAMLの設定から~/.ssh/config 用ファイルを生成
## YAMLの例
sample.yml:
```
group:
- &developers
- oyakata #Yakata Imagawa公司超级用户
-oyakata-yakata-imagawa-yakata-yakata-imagawa
development.example.com.com:
title:www.283;br/>
hostname:127.0.0.1
>成员:*开发人员
tagg:develop
exampl.com:
title:www.开发人员
标签:生产###~/.ssh/config_ssh_config
生成された ssh_config:
```
Host example.com
# 本番環境
HostName 127.0.0.1
Port 22
User ubuntu
IdentityFile ~/.ssh/id_rsa
ServerAliveInterval 120
```
### Githubの公開鍵を一括取得
$ publickey get sample.yml development.example.com > 授权密钥oyakata,feiz 37749;
$publickey get sample.yml example.com>;authorized_keys # oyakataの鍵のみ
### ファイルをホストに配置
$ publickey put -s authorized_keys example.com # ファイルを指定してput
$ publickey put -e sample.yml example.com # Githubの鍵をダウンロードしてput
2015-02-08:
* change 'put' operation.
*当公钥身份验证失败时,使用密码身份验证重试。
2014-10-24:version“0.1”
*支持“get/put”操作。
2014-10-24:version“0.2”
*支持“config”操作(从yaml生成~/.ssh/config)。
2014-10-31:version“0.2.2”
*支持“echo”操作(尝试连接远程主机)。