Skip to content

Instantly share code, notes, and snippets.

@guimossibento
Last active February 14, 2022 17:33
Show Gist options
  • Save guimossibento/859af6c7f1df7cd72cdee1af05924382 to your computer and use it in GitHub Desktop.
Save guimossibento/859af6c7f1df7cd72cdee1af05924382 to your computer and use it in GitHub Desktop.
Configurar acesso SSh com key
  • instalar putty-tools

  • cria uma key com a ppk

    • caminho da ppk e caminho da key
 puttygen /home/user/Desktop/file.ppk -O private-openssh -o /home/user/.ssh/file.key
  • permissao

chmod 400 /home/user/.ssh/file.key 
  • executar

ssh -i /home/user/.ssh/file.key server_user@host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment