[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

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 revisionPrevious revision
Next revision
Previous revision
howtos:security:sshkeys [2012/09/23 03:27 (UTC)] – [Sources] added the author tag mfillpothowtos:security:sshkeys [2015/04/20 18:59 (UTC)] (current) – Changed "WARNING:" to "A word of caution here:" at the suggestion of D. Spaier ~VTEL nocturnal.slacker
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>
  
 howtos:security:sshkeys ()