|
|||||||||||
|
Re: ssh on lan by hostname instead of dynamic ip
From: Tod Detre <tdetre(at)pantek.com>
Date: Fri Jun 22 2007 - 17:20:00 EDT
> Is there a way to use ssh and rsync using hostname instead of ip You could set up your dhcp server to talk to a dns server and do your hostnames automatically, but it would require a lot of setup. I think the easiest thing would be if you're machines are set up with ipv6 and are on the same lan, just use the ipv6 local address. you can get this by doing ifconfig and using the inet6 addr. It should start with fe80. Yeah, ipv6 address are long and hard to remember, but you can copy and paste and put it in your script. The address is based on the MAC address of your card and so shouldn't change unless you change hardware. Use ping6 to see if the machines can ping each other.
Regards,
iD8DBQFGfD0AIP3eD7Sc0oYRAnFBAJ0WZXjaGPXuke9hvxjZbKZ+hZ62SQCcDU2m
0+K9G/1e2vv9QhJsEknc+sQ=
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Fri Jun 22 17:20:29 2007 This archive was generated by hypermail 2.1.8 : Fri Jun 22 2007 - 17:30:03 EDT |
||||||||||
|
|||||||||||