Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tech_notes:ssh [2023-03-06 Mon wk10 13:57] – baumkp | tech_notes:ssh [2024-03-09 Sat wk10 10:45] (current) – [ssh-keygen] baumkp | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{tag> | {{tag> | ||
| - | ======ssh====== | + | ======ssh |
| + | The advantages of using SSH key-based include: | ||
| + | *Improved security | ||
| + | *Easier access to ssh (if password keys are not used) | ||
| + | |||
| + | Clearly use of unique password encrypted keys gives best security. | ||
| + | <fc # | ||
| + | =====ssh-keygen====== | ||
| + | The '' | ||
| + | |||
| + | //Use '' | ||
| + | |||
| + | ====ssh-keygen default==== | ||
| + | * '' | ||
| + | * home directory ''/ | ||
| + | * public key ''/ | ||
| + | * private key ''/ | ||
| + | |||
| + | ====ssh-keygen with filename==== | ||
| + | * '' | ||
| + | * public key ''/ | ||
| + | * private key ''/ | ||
| + | |||
| + | ====Warning==== | ||
| + | <fc # | ||
| + | //</ | ||
| + | |||
| + | Once you have generated the keys, they are stored in the / | ||
| + | *Private key - 600 | ||
| + | *Public key - 644 | ||
| + | |||
| + | =====sharing keys===== | ||
| + | Some examples: | ||
| + | *'' | ||
| + | *'' | ||
| + | |||
| + | The remote ssh will ask for remote shell password. | ||
| + | |||
| + | //Use '' | ||
| + | =====references===== | ||
| [[https:// | [[https:// | ||
| - | <- tech_notes: | + | <- tech_notes: |