Scripts are not checked into Git yet
A very crude attempt in managing dynamic IPs.
Have you had a moment when you want to SSH to your RPi at home but don't know the IP? I do too!
This is not targeted at DDNS management. ddclient is your friend there.
- Create a secret Gist.
- Create an SSH key, either passphrase-less or you can try to get
ssh-agentworking. I'm not counting on the latter. - Add that SSH key to your GitHub account.
- Clone this repo.
- In the directory, create a file called
urlwith the SSH URL of your Gist in it. - Run
./init.sh. - Run
crontab -eand add the follow line:
0 * * * * cd WHERE_YOU_PUT_THIS_REPO && ./script.shNow, the Gist will be updated every hour, and even if the IP didn't change a commit will still be pushed to show that the IP is current.
MIT