Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: ssh on lan by hostname instead of dynamic ip

From: Chris Lale <chrislale(at)untrammelled.co.uk>
Date: Fri Jun 22 2007 - 16:11:49 EDT


BartlebyScrivener wrote:
> Hello,
>
> I use unison and rsync on my home LAN. Everything works fine as long
> as I use ip addresses, for example,
>
> ssh rick@192.168.0.5
>
> But my router (on home LAN) assigns dynamic ip addresses. So my
> scripts don't work if the router happens to assign a different address
> that day to one of my machines.
>
> Is there a way to use ssh and rsync using hostname instead of ip
> address. It seems to me I've had this working once or twice, but then
> it stops.
>

Not sure if dnsmasq[1] might help - it can serve the names of local machines which are not in the global DNS. I've looked at it but never actually used it myself.

[1] http://www.thekelleys.org.uk/dnsmasq/doc.html

-- 
Chris.


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Fri Jun 22 16:12:54 2007

This archive was generated by hypermail 2.1.8 : Fri Jun 22 2007 - 16:20:02 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library