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
1460 users tagging and storing useful source code snippets
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.