Sample Header Ad - 728x90

Is it possible to use Back To My Mac DNS or routing information from the command line?

8 votes
5 answers
4678 views
I often want to ssh to a Mac and would love to make use of of iCloud to look up IP/DNS routing information. Can this be done without signing up for a dynamic DNS service and configuring it on each Mac in addition to iCloud? Let's assume of my on-all-the-time Mac at home's hostname is "maui" and it's running Snow Leopard. When I'm on my laptop connected to the home network, I can ssh maui.local. It sure would be nice to be able to ssh maui.whatever.icloud.com or whatever would work. I'm guessing I would need "maui" and my iCloud name to let it know which machine under my account needs reaching. Does anyone know if this is possible through API or command line? I've browsed the public developer information several times but don't see anything promising. Any pointers or code examples would be welcome. P.S. _Please don't suggest free DNS accounts as I'm really interested in MobileMe exclusively for this question. I know those will work but I'm looking to avoid installing anything else or another account/external dependency on these Macs._
Asked by bmike (244554 rep)
May 13, 2011, 03:52 AM
Last activity: Dec 18, 2015, 07:08 PM