mention ssh-keygen in ssh-copy-id tip
[grml-tips.git] / grml_tips
index df23ee8..d8ac68d 100644 (file)
--- a/grml_tips
+++ b/grml_tips
@@ -663,7 +663,9 @@ to get a list of all supported trees
 -- 
 Transfer your SSH public key to another host:
 
-% ssh-copy-id -i ~/.ssh/id_dsa.pub user@remote-system
+% ssh-keygen   # if you don't have a key yet
+[...]
+% ssh-copy-id -i ~/.ssh/id_rsa.pub user@remote-system
 or
 % cat $HOME/.ssh/id_rsa.pub  | ssh user@remote-system 'cat >> .ssh/authorized_keys'
 --