cours/ssh keys.md
oscar.plaisant@icloud.com a2ee0fa5ca from github to this gitea
2023-10-23 23:09:51 +02:00

363 B

up::terminal commandes, ssh title:: "cd ~/.ssh", "ssh-keygen -o", "cat ~/.ssh/id_rsa.pub" #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