Re: ssh on lan by hostname instead of dynamic ip
- From: Tod Detre <tdetre@xxxxxxxxxx>
- Date: Fri, 22 Jun 2007 17:20:00 -0400
-----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
- References:
- ssh on lan by hostname instead of dynamic ip
- From: BartlebyScrivener
- ssh on lan by hostname instead of dynamic ip
- Prev by Date: Re: ssh on lan by hostname instead of dynamic ip
- Next by Date: Re: /etc is gone
- Previous by thread: Re: ssh on lan by hostname instead of dynamic ip
- Next by thread: Re: ssh on lan by hostname instead of dynamic ip
- Index(es):
Relevant Pages
|