| giolekva | 716efb9 | 2022-05-07 23:08:58 +0400 | [diff] [blame^] | 1 | # The name of the server to show in the TUI. |
| 2 | name: PCloud |
| 3 | |
| 4 | # The host and port to display in the TUI. You may want to change this if your |
| 5 | # server is accessible from a different host and/or port that what it's |
| 6 | # actually listening on (for example, if it's behind a reverse proxy). |
| 7 | host: localhost |
| 8 | port: 22 |
| 9 | |
| 10 | # Access level for anonymous users. Options are: admin-access, read-write, |
| 11 | # read-only, and no-access. |
| 12 | anon-access: no-access |
| 13 | |
| 14 | # You can grant read-only access to users without private keys. Any password |
| 15 | # will be accepted. |
| 16 | allow-keyless: false |
| 17 | |
| 18 | # Customize repo display in the menu. |
| 19 | repos: |
| 20 | - name: Home |
| 21 | repo: config |
| 22 | private: true |
| 23 | note: "Configuration and content repo for this server" |
| 24 | |
| 25 | # Authorized users. Admins have full access to all repos. Users can read all |
| 26 | # repos and push to their collab-repos. |
| 27 | users: |
| 28 | - name: Admin |
| 29 | admin: true |
| 30 | public-keys: |
| 31 | {{ range . }} |
| 32 | - {{ . }} |
| 33 | {{ end }} |
| 34 | |
| 35 | |
| 36 | # - name: Example User |
| 37 | # collab-repos: |
| 38 | # - REPO |
| 39 | # public-keys: |
| 40 | # - ssh-ed25519 AAAA... # redacted |
| 41 | # - ssh-rsa AAAAB3Nz... # redacted |