找了一个免费的动态域名,这样在别的地方也可以ssh家里电脑了
首先去http://www.3322.org/注册一个免费的帐号,得到一个免费的二级域名xxx.3322.org之类
然后在ubuntu上写个脚本,定时运行就可以了.我用cron,每15分钟跑一次,感觉还好.
lynx -mime_header -auth=user : pass "http://www.3322.org/dyndns/update?system=dyndns&hostname=myhost.3322.org"
#注, 以上为一行,写入某个脚本中
客户端下载http://www.3322.org/dyndnspage/client.html Continue Reading ...