cours/ssh keys.md
Oscar Plaisant 602a41e7f8 update
2024-12-25 22:30:24 +01:00

365 B

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