15 lines
365 B
Markdown
15 lines
365 B
Markdown
up::[[terminal commandes]], [[ssh]]
|
|
title:: "`cd ~/.ssh`", "`ssh-keygen -o`", "`cat ~/.ssh/id_rsa.pub`"
|
|
#s/informatique
|
|
|
|
---
|
|
|
|
# Getting the keys
|
|
- **Private :** `cat ~/.ssh/id_rsa` (sometimes `id_dsa`)
|
|
- **Public :** `cat -/.ssh/id_rsa.pub` (sometimes `id_dsa.pub`)
|
|
|
|
# Generating a pair of keys
|
|
|
|
- in the `~/.ssh` directory
|
|
- using the `ssh-keygen -o` command
|