Differences

This shows you the differences between the selected revisions of the page.

2014-10-31 2014-10-31
missing dot (martin) not really needed to mention authorized_keys2 nowadays (martin)
Line 19: Line 19:
[[task_navigate|Navigate]] into the ''.ssh'' subdirectory of your account home directory. You may need to enable [[ui_pref_panels#common_options|showing hidden files]] to see the directory. If the directory does not exists, you need to [[task_create_directory|create it]] first. [[task_navigate|Navigate]] into the ''.ssh'' subdirectory of your account home directory. You may need to enable [[ui_pref_panels#common_options|showing hidden files]] to see the directory. If the directory does not exists, you need to [[task_create_directory|create it]] first.
-Once there, open the file ''authorized_keys'' for [[task_edit|editing]] ((In earlier versions of OpenSSH 2 the file might be called ''authorized_keys2''.)). Again you may have to create this file if this is the first key you have put in it.+Once there, open the file ''authorized_keys'' for [[task_edit|editing]]. Again you may have to create this file if this is the first key you have put in it.
Then switch to the [[ui_puttygen|PuTTYgen]] window, select all of the text in the //[[ui_puttygen#authorized_keys|Public key for pasting into authorized_keys file]]// box, and copy it to the clipboard (''Ctrl+C''). Then, switch back to the editor and insert the data into the open file, making sure it ends up all on one line. Save the file. Then switch to the [[ui_puttygen|PuTTYgen]] window, select all of the text in the //[[ui_puttygen#authorized_keys|Public key for pasting into authorized_keys file]]// box, and copy it to the clipboard (''Ctrl+C''). Then, switch back to the editor and insert the data into the open file, making sure it ends up all on one line. Save the file.
-You may also need to ensure that your account home directory, your ''.ssh'' directory, and any other files involved (such as ''authorized_keys'', ''authorized_keys2'' or ''authorization'') are not group-writable or world-writable.+You may also need to ensure that your account home directory, your ''.ssh'' directory and file ''authorized_keys'' are not group-writable or world-writable.
Read more about [[task_properties|changing permissions]]. Read more about [[task_properties|changing permissions]].

Last modified: by martin