This is a script that checks my current ip on this site: http://myip.dnsdynamic.org/ and pick the response and calls an API in order to update my dynamic ip.
Here the script:
curl --user <myusername>:<mypasswd> https://www.dnsdynamic.org/api/?hostname=eventsonmap.ssh22.com&myip=`curl http://myip.dnsdynamic.org/`
When i run it it's all ok but the command stops and doesn't return normally it works only if at the end i press ENTER
or ctrl+c
what i'm doing wrong? I'm missing a param?
This script is a cronjob that run every minyte so i can't press ENTER
More info
Here on pastebin the full result of the curl -v <same>
here the last 2 lines:
* Closing connection 0
* SSLv3, TLS alert, Client hello (1):
and blocks here...