diff --git a/Comandos-Basicos-Git.md b/Comandos-Basicos-Git.md index c1a6ed6..da3feb6 100644 --- a/Comandos-Basicos-Git.md +++ b/Comandos-Basicos-Git.md @@ -179,10 +179,14 @@ git stash aplply `git clone [repos ssh o https]` ### Llaves ssh -##### listar llaves + +##### Listar llaves `ssh-add -l` +##### Crear una llave ##### SSH -t (algoritmo=rsa) -b (bits key) -C "comentario/mail" -```ssh-keygen -t rsa -b 4096 -C "mail@git" +```ssh-keygen -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "john@example.com" + +ssh-keygen -t rsa -b 4096 -C "mail@git" $ eval $(ssh-agent -s) > Agent pid 59566