Ewww. Don't run the script
Ewww. Don't run the script every minute. Run it when the network interface comes up.
View Articlecronjob
Yeah, once per minute is a bit of an overkill, but running it when the interface comes up won't work in my case. The homeserver is not the one dialing out (PPPOE, DSL), instead it has a static...
View ArticleAnother approach ...
To achieve this aim -- and get a whole lot more, try out the open source home server from www.Amahi.org. All the hard work has been done for you (for starters it provides DDNS and sets up OpenConnect)...
View Articleauthorized_keys
You might also want to look into using command="/home/user/updateip",no-port-forwarding,no-X11-forwarding,no-agent-forwarding in your authorized_keys file to limit that passphrase-free key to running...
View ArticleEasier fix: IPv6
Faced that same problem for years. One other trick I used was to set up an ssh port forwarding, so I could get to my home machine by SSHing to the public machine on some other port.But more recently I...
View Articlessh port forwarding
Nice, but how does the ssh port forwarding work? You still need to handle the case where your homeserver IP changes, no?The IPv6 solution sounds interesting, though (currently) less flexible, as it...
View ArticleDDNS
How does the DDNS solution work btw? Does it rely on DynDNS or a similar service or does it require access to an actual DNS server (on the "publicserver") which you control?
View ArticleHi You could also retrieve
HiYou could also retrieve your IP address directly via: ssh my.server.net 'echo $SSH_CLIENT'> myip.txtThe magic is done by the quotation marks :-)cu
View ArticleNot sure about this one
This misses the point. If my.server.net has a fixed IP, you don't need to do that. If it has a dynamic IP, it won't help. -alex
View Article
More Pages to Explore .....