Document sql, python, and password

This commit is contained in:
Owen
2026-03-01 10:42:34 -08:00
parent df1fc4b92d
commit f15368abac
2 changed files with 31 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ This guide describes how to set up your local development environment for contri
- Go 1.25
- Git
- Docker & Docker Compose
- Python (for NPM builds)
<Info>
For managing multiple versions of Go, you may want to use [gvm](https://github.com/moovweb/gvm).
@@ -212,7 +213,28 @@ The easiest way to resolve this is to run Gerbil and have it register in your de
--remoteConfig=http://localhost:3001/api/v1/
```
Or enter in a dummy exit-node manually to the database.
Or enter in a dummy exit-node manually to the database:
```
INSERT INTO "exitNodes" (
"name",
"address",
"endpoint",
"publicKey",
"listenPort",
"reachableAt",
"type"
)
VALUES (
'exit-node-1',
'10.0.0.1/24',
'gerbil.pangolin.net',
'abc123',
1234,
'gerbil.pangolin.net',
'gerbil'
);
```
## Windows Development Considerations

View File

@@ -278,6 +278,14 @@ You can ask Pangolin to sign a key for a resource without starting an interactiv
pangolin ssh sign vm-01.prod.example.com --key-file /path/to/public/key.pub
```
## Generating passwords for users
If you need a password to be generated for your user on the remote system (e.g. for sudo access or if you have passwords required in your sshd config), you can use:
`--generate-random-password` to have Pangolin generate a random password when users are created on the device
```bash
## FAQ
### How long are the temporary keys valid?