Skip to content

Commit

Permalink
fix config example error
Browse files Browse the repository at this point in the history
[sshw] 2020/07/22 10:06:19 [error] load config error yaml: line 2: mapping values are not allowed in this context

```
- name: server with jump
   user: appuser
   host: 192.168.8.35
   port: 22
   password: 123456
   jump:
   - user: appuser
     host: 192.168.8.36
     port: 2222
```

fix:

```
- name: server with jump
  user: appuser
  host: 192.168.8.35
  port: 22
  password: 123456
  jump:
  - user: appuser
    host: 192.168.8.36
    port: 2222
```
  • Loading branch information
ilvsx committed Jul 22, 2020
1 parent 66cba32 commit 39fe760
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ config example:
- { name: ⚡️ server with emoji name, host: 192.168.8.35 }
- { name: server with alias, alias: dev, host: 192.168.8.35 }
- name: server with jump
user: appuser
host: 192.168.8.35
port: 22
password: 123456
jump:
- user: appuser
host: 192.168.8.36
port: 2222
user: appuser
host: 192.168.8.35
port: 22
password: 123456
jump:
- user: appuser
host: 192.168.8.36
port: 2222


# server group 1
Expand Down

0 comments on commit 39fe760

Please sign in to comment.