Skip to content

Configure ssh key approbation

Content of folder ~/.ssh/

Access right to ~/.ssh/ directory.

chmod 700 ~/.ssh # Nice to have
  • File authorized_keys
chmod 600 ~/.ssh/authorized_keys # Mandatory

TODOC

  • File config

TODOC

  • Files id_rsa and id_rsa.pub

TODOC

chmod 600 ~/.ssh/id_rsa # Mandatory

-rw------- 1 YOU YOU 1234 Jun 18 00:48 id_rsa

  • File known_hosts

TODOC