Add documentation to generate a publilc ssh key

This commit is contained in:
voodoorai2000
2019-03-27 21:19:02 +01:00
parent 874728a086
commit 761a2892e6
4 changed files with 38 additions and 0 deletions

View File

@@ -18,6 +18,7 @@
* [Development Mail Server](getting_started/dev_mailserver.md) * [Development Mail Server](getting_started/dev_mailserver.md)
* [Production and Staging servers](getting_started/servers.md) * [Production and Staging servers](getting_started/servers.md)
* [Digital Ocean](getting_started/digital_ocean.md) * [Digital Ocean](getting_started/digital_ocean.md)
* [Generating SSH Key](getting_started/generating_ssh_key.md)
* [Heroku](getting_started/deploying-on-heroku.md) * [Heroku](getting_started/deploying-on-heroku.md)
* [Docker](getting_started/docker.md) * [Docker](getting_started/docker.md)
* [Basic configuration](getting_started/basic_configuration.md) * [Basic configuration](getting_started/basic_configuration.md)

View File

@@ -0,0 +1,18 @@
# Generating your SSH keys
These instructions will help you generate a public key with which you can connect to the server without using a password.
In the terminal window, type:
```
ssh-keygen
```
When prompted for the file in which to save the key just press ENTER to leave the default. When prompted for a passphrase, just press ENTER again to leave this empty. At the end you should see a message like this:
```
Your identification has been saved in /your_home/.ssh/id_rsa.
Your public key has been saved in /your_home/.ssh/id_rsa.pub.
```
Take note of the **id_rsa.pub** file location, because youll need the content of this file later.

View File

@@ -18,6 +18,7 @@
* [Servidor local de correo](getting_started/dev_mailserver.md) * [Servidor local de correo](getting_started/dev_mailserver.md)
* [Servidores de prueba y producción](getting_started/servers.md) * [Servidores de prueba y producción](getting_started/servers.md)
* [Digital Ocean](getting_started/digital_ocean.md) * [Digital Ocean](getting_started/digital_ocean.md)
* [Generación de claves SSH](getting_started/generating_ssh_key.md)
* [Heroku](getting_started/deploying-on-heroku.md) * [Heroku](getting_started/deploying-on-heroku.md)
* [Docker](getting_started/docker.md) * [Docker](getting_started/docker.md)
* [Configuración básica](getting_started/basic_configuration.md) * [Configuración básica](getting_started/basic_configuration.md)

View File

@@ -0,0 +1,18 @@
# Generación de claves SSH
Estas instrucciones le ayudarán a generar una clave pública con la que podrá conectarse al servidor sin necesidad de utilizar una contraseña.
En la ventana del terminal, escriba:
```
ssh-keygen
```
Cuando se le pida el archivo en el que guardar la clave, sólo tiene que pulsar ENTER para dejar el valor predeterminado. Cuando se le pida una frase de contraseña, pulse ENTER de nuevo para dejarla vacía. Al final debería ver un mensaje como este:
```
Your identification has been saved in /your_home/.ssh/id_rsa.
Your public key has been saved in /your_home/.ssh/id_rsa.pub.
```
Tome nota de la ubicación del archivo **id_rsa.pub**, porque necesitará el contenido de este archivo más adelante.