Last active
December 29, 2016 00:05
-
-
Save OscarSwanros/5f60dc845c6ffb970bf16f3ecb7fded4 to your computer and use it in GitHub Desktop.
SSH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-keygen -t rsa -b 4096 -C "nancy@pacific3.net" # Genera una llave con tu correo. Te va a pedir una ubicacion, luego un | |
# passhphrase y una confirmacion del passphrase. Deja todo en blanco. | |
eval "$(ssh-agent -s)" # Activa el servidor SSH. Te debe salir algo como: Agent pid 35677 | |
ssh-add ~/.ssh/id_rsa # agrega la llave que acabas de generar a la lista de llaves permitidas | |
pbcopy < ~/.ssh/id_rsa.pub # copia la llave al portapapeles | |
Luego solo tienes que pegar esa llave donde sea que la necesitaras. | |
Las llaves inician asi: ssh-rsa | |
y terminan en tu correo: == nancy@pacific3.net |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment