Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tech_notes:ssh [2024-03-09 Sat wk10 10:24] – [ssh-keygen] baumkp | tech_notes:ssh [2024-03-09 Sat wk10 10:45] (current) – [ssh-keygen] baumkp | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{tag> | {{tag> | ||
| ======ssh with key files====== | ======ssh with key files====== | ||
| + | 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. | ||
| - | ====ssh-keygen===== | + | <fc # |
| - | The '' | + | =====ssh-keygen====== |
| - | ++++ssh-keygen| | + | The '' |
| - | < | + | |
| - | usage: | + | //Use '' |
| - | [-m format] [-N new_passphrase] [-O option] | + | |
| - | [-t dsa | ecdsa | ecdsa-sk | ed25519 | ed25519-sk | rsa] | + | |
| - | [-w provider] [-Z cipher] | + | |
| - | | + | |
| - | [-P old_passphrase] [-Z cipher] | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | [-n principals] [-O option] [-V validity_interval] | + | |
| - | [-z serial_number] file ... | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | file ... | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | -n namespace -s signature_file [-r krl_file] [-O option]</code) | + | |
| - | ++++ | + | |
| ====ssh-keygen default==== | ====ssh-keygen default==== | ||
| Line 54: | Line 25: | ||
| ====Warning==== | ====Warning==== | ||
| - | <fc # | + | <fc # |
| - | **//</ | + | //</ |
| Once you have generated the keys, they are stored in the / | Once you have generated the keys, they are stored in the / | ||
| Line 61: | Line 32: | ||
| *Public key - 644 | *Public key - 644 | ||
| + | =====sharing keys===== | ||
| + | Some examples: | ||
| + | *'' | ||
| + | *'' | ||
| + | The remote ssh will ask for remote shell password. | ||
| + | //Use '' | ||
| + | =====references===== | ||
| [[https:// | [[https:// | ||
| <- tech_notes: | <- tech_notes: | ||