Re: ssh on lan by hostname instead of dynamic ip



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

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,
Tod Detre

- --
Pantek, Inc. - http://www.pantek.com/ - info@xxxxxxxxxx
+1-877-LINUX-FIX - Expert Open Source Software IT Services.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGfD0AIP3eD7Sc0oYRAnFBAJ0WZXjaGPXuke9hvxjZbKZ+hZ62SQCcDU2m
0+K9G/1e2vv9QhJsEknc+sQ=
=1cVk
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: question about avoid duplicated ip address
    ... DHCP server for all hosts. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • IPv6
    ... I am finding that my CTIW is not funcitoning for me and I have tried ... wizard that my DHCP server needs to have IPv6 configured. ... IPv6 and every time it does. ... This is my first experience and forray in to learning IPv6. ...
    (microsoft.public.windows.server.sbs)
  • Re: Wireless problems. UPDATE
    ... If the device doesn't support IPv6, it's not going to work through it. ... DHCP server doesn't, then IPv6 can be used on the network, but you'd ... but Fedora doesn't have that nor anything close to that OTHER than dhcp6c which is why I mentioned it. ...
    (Fedora)
  • Re: How to install Debian in such a situation
    ... Install it from network. ... I suppose you already have a dhcp server. ... There's definitely something appealing about sucking an install CD ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: IPv6
    ... In the properties for the SBS NIC, do you have IPv6 checked? ... checkmark it and re-run CTIW again. ... wizard that my DHCP server needs to have IPv6 configured. ...
    (microsoft.public.windows.server.sbs)