I'm setting up a ssh server on 10.10(soon to be 11.04) desktop. I'm sure this goes without saying but, I want it to be as simple and secure as possible. I only plan to connect from one other Ubuntu machine. I have a few starter questions -
ssh-keygen -t dsa
will create a key.
-I then simply attach(cat) that key to the end of the authorized_keys2 file on the remote computer?
-That is secure?
-What is the difference between the public and private key?
--How do I get the sshd daemon to start at startup? I'd like to run this headless without X starting.
--How can I easily start and stop an X session?
references - https://help.ubuntu.com/8.04/serverg...sh-server.html and https://help.ubuntu.com/community/SS...dvancedOpenSSH