Metadata-Version: 2.0
Name: 0lever-so
Version: 1.0.8
Summary: 跳板机登录脚本
Home-page: https://github.com/0lever/so
Author: fqiyou
Author-email: yc.fqiyou@gmail.com
License: UNKNOWN
Description-Content-Type: UNKNOWN
Platform: UNKNOWN
Requires-Dist: pexpect
Requires-Dist: pyyaml

# so
This is a SSH login tool

## Linux ssh 登陆工具:

### 一.说明

- 支持秘密和密钥两种格式
- 用户名和密码都是写文件的,明文保存

### 二.配置
- 配置文件:
```
so_install
ll ~/.so/
```
- 密码文件配置:
```
ssh:
  - id: 1
    name: demo1
    user: fqiyou
    password: xxx
    host: 1.1.1.1
    port: 20755
  - id: 2
    name: demo2
    user: fqiyou
    password: xxx
    host: 1.1.1.1
    port: 39986
  - id: 3
    name: demo3
    user: root
    password: demo.pem
    host: 1.1.1.1
    port: 22
```


- 密钥文件放在keys文件夹下,密码位置写成密钥文件名,文件名必须以.pem结尾
```
chmod 400 ~/.so/keys/*

```


