File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,18 +21,18 @@ gossh对于密码的支持比较灵活,可以通过-p参数指定,批量模
21
21
22
22
- 单机模式密码获取流程
23
23
24
- ![ 单机模式] ( https://github.com/andesli/gossh/raw/v0.1 /docs/images/singlepass.png )
24
+ ![ 单机模式] ( https://github.com/andesli/gossh/raw/master /docs/images/singlepass.png )
25
25
26
26
- 批量模式模式密码获取流程
27
27
28
- ![ 批量模式] ( https://github.com/andesli/gossh/raw/v0.1 /docs/images/batchpass.png )
28
+ ![ 批量模式] ( https://github.com/andesli/gossh/raw/master /docs/images/batchpass.png )
29
29
30
30
## 3.密码扩展
31
31
32
32
gossh支持密码插件的方式访问密码,通过定义一套标准的密码获取接口,外部插件只要实现该接口,就能注册进去。gossh内部默认实现了一个通过db获取密码的插件。
33
33
34
34
1 . 通过访问db获取密码。
35
- gossh 提供了一个简单的默认实现,如果不指定操作的机器密码,gossh默认会访问:[ gossh/auth/db/query.go] ( https://github.com/andesli/gossh/blob/master/auth/db/query.go#L9 ) 中指定的db库表中查询。
35
+ gossh 提供了一个简单的默认实现,如果不指定操作的机器密码,gossh默认会访问:[ gossh/auth/db/query.go] ( https://github.com/andesli/gossh/blob/master/auth/db/query.go#L10 ) 中指定的db库表中查询。
36
36
37
37
```
38
38
10 const (
You can’t perform that action at this time.
0 commit comments