PublishIP

PublishIP enables you to upload your computer's IP address to a remote computer. This enables you to:

This is version 1.0 -- if you have any suggestions, please email me. Hope you find it useful.

How It Works / Requirements

This is a simple shell script that determines your computer's IP address and copies it to a remote computer. It requires that you have a remote machine accessible by ssh, with your keys created and installed. Although it has been written for Mac OS X, it could be adapted for Linux and other Unix variants with minimal effort.

Download / Install

This software is Copyright © 2003 John F. Whitehead and is free under the GNU Public License.

PublishIP StartupItems package (gzipped, 5k)

The package is recommended if you want to install it as a StartupItem, since it includes the self-named directory, StartupParameters.plist, and the localization Resources to ensure it runs properly upon startup.

To install, unzip the package in /Library/StartupItems/ to have it run on every system reboot. Customize the variables for username, filename, and remote host appropriately. (This "package" is not a self-installing executable, just a tarred and gzipped directory.)

PublishIP standalone program (text, 3k)

The standalone program (included in the package) is fine if you want to set it up as a StartupItem yourself, or just run the program manually or as a cron job, or on a non-Mac platform.

To install, save it wherever you want (be sure to change its permissions to be executable). Customize the variables for username, filename, and remote host appropriately.

Some comments:

Some caveats:

Revisions

Version 1.0, 29 Sep 2003. Initial release.