X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml_tips;h=2b150a508e03ae059ac596f8f32ed349f359172b;hb=2d3d9da31eac241a04091862598d436b7c46ae09;hp=df23ee844a447b48186acf32c1ec066d701d45bd;hpb=cc3193940c320358f05813b8cdf93512b568072f;p=grml-tips.git diff --git a/grml_tips b/grml_tips index df23ee8..2b150a5 100644 --- 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' -- @@ -2836,3 +2838,12 @@ Record sound: This will record a AIFF audio file. -- +Change passphrase / password of an existing SSH key: + +% ssh-keygen -p +-- +Enable syntax highlighting in nano: + +Just uncomment the include directives for your respective +language at the bottom of the file /etc/nanorc +--