[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.
Next revision | Previous revision |
howtos:security:sshkeys [2012/09/22 21:37 (UTC)] – moved page from security:sshkeys and corrected headings mfillpot | howtos: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 |
---|
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> |
| |
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> |
<!-- You must also remove the tag-word "template" below. Otherwise your page will not show up in the Table of Contents --> | <!-- You must also remove the tag-word "template" below. Otherwise your page will not show up in the Table of Contents --> |
{{tag>howtos security ssh sshkeys}} | {{tag>howtos security ssh sshkeys author_noryungi}} |