James G. Sack (jim) wrote:
There's nothing much difficult to it, but there is often confusion
because there are lots of options and the command syntax is never
intuitive, of course.
Jim is really quite correct about this. It's really pretty simple.
On the local machine that you are sitting at (logging in *from*):
% ssh-keygen -t dsa
Follow the prompts and give it a passphrase. You now have a nice shiny
key on your local machine.
add ~/.ssh/id_dsa.pub from the local machine to ~/.ssh/authorized_keys
on the foreign machine.
Done.
You can now log into the foreign machine without a password.
I have all of my machines set up for key login only. All passwords are
denied. My machines sit on the net long enough that someone probably
could brute-force my machines if they really tried.
-a
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list