Update Backends
parent
7fd95b6ba5
commit
33f8351eb1
@ -6,7 +6,8 @@ The Docker backend integrates with a docker daemon running on your system to pro
|
|||||||
|
|
||||||
- **command** (optional, []string): The command to run inside the container. Default is `["/bin/sh"]`.
|
- **command** (optional, []string): The command to run inside the container. Default is `["/bin/sh"]`.
|
||||||
- **privileged** (optional, bool): If `true`, the command will run in privileged mode. Default is `false`.
|
- **privileged** (optional, bool): If `true`, the command will run in privileged mode. Default is `false`.
|
||||||
- **user** (optional, string): The user to run the command as inside the container.
|
- **user** (optional, string): The user to run the command as inside the container. If this is not set, **user_map** will be used to determine the right user, or the seashell username will be used if the user doesn't exist in the map.
|
||||||
|
- **user_map** (optional, map[string]string): A map from seashell usernames to docker usernames or UIDs.
|
||||||
|
|
||||||
### Permissions
|
### Permissions
|
||||||
|
|
||||||
@ -126,9 +127,9 @@ The Proxy backend allows SSH connections to be proxied to another server.
|
|||||||
### Settings
|
### Settings
|
||||||
|
|
||||||
- **server** (string): The target server's address.
|
- **server** (string): The target server's address.
|
||||||
- **user** (optional, string): The user to connect as on the proxy server. If this is not set, **userMap** will be used to determine the right user, or the seashell username will be used if the user doesn't exist in the map.
|
- **user** (optional, string): The user to connect as on the proxy server. If this is not set, **user_map** will be used to determine the right user, or the seashell username will be used if the user doesn't exist in the map.
|
||||||
- **privkey** (optional, string): The path to the private key for authentication. If this is not provided, users will be asked for the target server's password when they attempt to connect.
|
- **privkey** (optional, string): The path to the private key for authentication. If this is not provided, users will be asked for the target server's password when they attempt to connect.
|
||||||
- **userMap** (optional, map[string]string): A map from seashell usernames to target server usernames.
|
- **user_map** (optional, map[string]string): A map from seashell usernames to target server usernames.
|
||||||
|
|
||||||
### Permissions
|
### Permissions
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user