diff --git a/development/contributing.mdx b/development/contributing.mdx index 8424161..f60d348 100644 --- a/development/contributing.mdx +++ b/development/contributing.mdx @@ -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) 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 diff --git a/manage/ssh.mdx b/manage/ssh.mdx index 876c8f8..63659d8 100644 --- a/manage/ssh.mdx +++ b/manage/ssh.mdx @@ -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?