Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
howtos:security:sshkeys [2013/03/19 18:06 (UTC)]
nocturnal.slacker Corrected previous edit - see discussion
howtos:security:sshkeys [2015/04/20 18:59 (UTC)] (current)
nocturnal.slacker Changed "WARNING:" to "A word of caution here:" at the suggestion of D. Spaier ~VTEL
Line 85: Line 85:
 In the example above, I copy the //​__public__//​ key ''​TEST.rsa.pub''​ on the remote machine named ''​test.example.com'',​ as user ''​nr''​. The file is renamed ''​authorized_keys''​ which is the name of the file that contains all the public keys authorized to connect to the server. In the example above, I copy the //​__public__//​ key ''​TEST.rsa.pub''​ on the remote machine named ''​test.example.com'',​ as user ''​nr''​. The file is renamed ''​authorized_keys''​ which is the name of the file that contains all the public keys authorized to connect to the server.
  
-<note warning>WARNING: do not execute the ''​scp''​ command above if you already have an ''​authorized_keys''​ file on the remote computer! This will replace the content of the file with your public key!!+<note warning>A word of caution here: do not execute the ''​scp''​ command above if you already have an ''​authorized_keys''​ file on the remote computer! This will replace the content of the file with your public key!!
 If you already have an ''​authorized_keys''​ file, execute a ''​cat TEST.rsa.pub >> authorized_keys''​ on the remote machine to add your public key at the end of authorized keys.</​note>​ If you already have an ''​authorized_keys''​ file, execute a ''​cat TEST.rsa.pub >> authorized_keys''​ on the remote machine to add your public key at the end of authorized keys.</​note>​
  

In Other Languages
QR Code
QR Code howtos:security:sshkeys (generated for current page)