summaryrefslogtreecommitdiff
path: root/keys.md
diff options
context:
space:
mode:
Diffstat (limited to 'keys.md')
-rw-r--r--keys.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/keys.md b/keys.md
index d875294..d6879aa 100644
--- a/keys.md
+++ b/keys.md
@@ -58,7 +58,8 @@ Chaves pessoais
Para gerar uma chave SSH pessoal, use um comando do tipo
- ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa -C "seu@email"
+ ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa -C "seu@email"
+ ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -C "seu@email"
Esse comando irá gerar uma **chave privada** em `~/.ssh/id_rsa` e uma respectiva **chave pública** em `~/.ssh/id_rsa.pub`. Se você já possui uma chave em `~/.ssh/id_rsa` e quiser mantê-la, escolha outro nome para a nova chave, como por exemplo `~/.ssh/id_rsa_aplicacao`.