[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
es:howtos:security:sshkeys [2020/03/21 03:50 (UTC)] – [Sources] antares_alfes:howtos:security:sshkeys [2021/09/12 08:29 (UTC)] (actual) – [Configure su clave pública en la computadora remota] antares_alf
Línea 76: Línea 76:
 ¡Felicidades! Estás a medio camino! ¡Felicidades! Estás a medio camino!
  
-===== Configure your public key on the remote computer =====+===== Configure su clave pública en la computadora remota =====
  
- +Muy bienahora¿cómo usar la clave pública/privadaEso es bastante simple: copie la //clave pública// (llamada ''TEST.rsa.pub'' como hemos vistoen la computadora remotaLa mejor manera de hacer esto es usar ''scp'' el programa de copia segura OpenSSH. Por ejemplo:
-All rightnowhow to use the public/private keyThat'simple enoughcopy the public key (named ''TEST.rsa.pub'' as we have seenonto the remote computerThe best way to do this is to use ''scp'' the OpenSSH secure copy programFor instance:+
  
 <code> <code>
Línea 85: Línea 84:
 </code> </code>
  
-In the example aboveI copy the //__public__// key ''TEST.rsa.pub'' on the remote machine named ''test.example.com'', as user ''nr''The file is renamed ''authorized_keys'' which is the name of the file that contains all the public keys authorized to connect to the server. +En el ejemplo anteriorcopió la //clave pública// ''TEST.rsa.pub'' en la máquina remota llamada ''test.example.com'', como usuario ''nr''El archivo cambia de nombre a ''authorized_keys'', que es el nombre del archivo que contiene todas las claves públicas autorizadas para conectarse al servidor.
- +
-<note warning>A word of caution here: do not execute the ''scp'' command above if you already have an ''authorized_keys'' file on the remote computer! This will replace the content of the file with your public key!! +
-If you already have an ''authorized_keys'' fileexecute a ''cat TEST.rsa.pub >> authorized_keys'' on the remote machine to add your public key at the end of authorized keys.</note>+
  
-Since all the SSH keys you use should be placed in the ''.ssh'' directorythat's where it goes on the remote machine.+<note warning>**Una advertencia**: ¡no ejecute el comando ''scp'' anterior si ya tiene un archivo de ''authorized_keys'' en la computadora remota! ¡¡Esto reemplazará el contenido del archivo con su clave pública!! 
 +Si ya tiene un archivo ''authorized_keys'', ejecute un ''cat TEST.rsa.pub >> authorized_keys'en la máquina remota para agregar su clave pública al final de las claves autorizadas. 
 +</note>
  
-Soare we done? Not really, there is just one small thing to do, but it is truly important, since it is the source of a lot of problems...+Dado que todas las claves SSH que usa deben colocarse en el directorio ''.ssh''ahí es donde va en la máquina remota.
  
 +Entonces, ¿hemos terminado? Realmente no, solo hay una pequeña cosa por hacer, pero es realmente importante, ya que es la fuente de muchos problemas...
 ===== Check the public key permissions on the remote machine ===== ===== Check the public key permissions on the remote machine =====
  
 es:howtos:security:sshkeys ()