in Ubuntu, just add
send host-name "dapperbox";
to your /etc/dhcp3/dhclient.conf file
you might need to do a
sudo /etc/services/networking restart
On your Mac, you can now do
ssh username@dapperbox
instead of
ssh username@1.2.3.4
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
send host-name "dapperbox";
sudo /etc/services/networking restart
ssh username@dapperbox
ssh username@1.2.3.4
You need to create an account or log in to post comments to this site.
» Cranberry Chutney in recipe cranberry chutney
» Garlic Rosemary Mashed Potatoes in recipe garlic mashed potato
» MySQL launchd item for Mac O... in mysql osx 10.4 tiger launchd
» Set the default compiler on ... in osx tiger gcc compiler
» Rounded Mac Input Box in tiger apple input html
» Italian peasant's salad in recipe salad italy
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails