Updating readme & testing SSH

This commit is contained in:
2026-04-25 18:42:49 +02:00
parent 083e685dc8
commit 7df8166422
+14 -1
View File
@@ -1,5 +1,18 @@
*So to start learning Bash I tasked myself with rewriting [my simple Powershell script](https://karf.net/Siim/DIY-DynDNS-Powershell). Turns out I have quite a lot to learn. This doc is basically my learning notes meant mostly for my own use.* *So to start learning Bash I tasked myself with rewriting [my simple Powershell script](https://karf.net/Siim/DIY-DynDNS-Powershell). Turns out I have quite a lot to learn. This doc is basically my learning notes meant mostly for my own use.*
### Prerequisites
- Use Cloudflare DNS
- [Powershell installed](obsidian://open?vault=Glamdring%202&file=PowerShell%20on%20Debian)
### Step 1 - Get a Token
Get a Cloudflare API token with the necessary permissions. Log in to your CloudFlare account, go to `Manage Account` and to `Account API Tokens`. Click that big, blue `Create Token` button and select the `Edit zone DNS` template.
Select the relevant Zone Resources, I just gave it permissions to edit all my zones:
![[Pasted image 20250415131506.png]]
Once you've configured it all, continue to summary, click `Create Token` and remember to save it. It will only be shown once, so if you forget to save it you'll have to create a new token.
### Getting started ### Getting started
```bash ```bash
#!/bin/bash #!/bin/bash
@@ -186,4 +199,4 @@ for zone in "${zoneArray[@]}"; do
fi fi
done done
done done
``` ```