Generating public/private dsa key pair.
Enter file in which to save the key (/home/user/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/user/.ssh/id_dsa.
Your public key has been saved in /home/user/.ssh/id_dsa.pub.
The key fingerprint is:
The key's randomart image is:
+--[ DSA 1024]----+
| . . |
| + |
| + . . |
| o = S . |
| . + = + . |
|. o @ = . |
| . B oEo . |
| . . .o |
you will get 2 files id_dsa and id_dsa.pub use
scp or other utility to copy file to your server
scp ~/.ssh/id_dsa.pub user@host:~/.ssh/
On your server
Add the new key to the file ~/.ssh/authorized_keys.