[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh



Jason Voorhees wrote:
Hola:

On Tue, Feb 17, 2009 at 9:20 AM, Liuber Hdez <liuber@fts.vcl.sld.cu> wrote:
Hola lista,

En el server (debian etch) trato de entrar por ssh y desde mi PC (debian
etch), no me deja y me da el siguiente error. solo tengo instalado mc y
ssh,

ftsbiblio:/home/liuber# ssh 192.168.0.100
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle
attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
c6:85:94:30:c1:03:69:59:15:d9:42:a2:af:6a:e2:06.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this
message.
Offending key in /root/.ssh/known_hosts:1
RSA host key for 192.168.0.100 has changed and you have requested strict
checking.
Host key verification failed.

amigo, necesito de su ayuda,
gracia de antemano,

sld2.
El juego de llaves usada por SSH para la conexión con ese equipo
(basándose en la IP o el nombre de host con el cual te conectabas a
él) ha cambiado por alguna razón (que tú deberías investigar).
Puedes borrar el archivo ~/.ssh/known_hosts como solución. Pero la
manera adecuada de corregir esto sería eliminar las entradas de este
host (o IP) de tu juego de llaves:

# ssh-keygen -R IP_ADDRESS
o
# ssh-keygen -R HOSTNAME

IP_ADDRESS/HOSTNAME son los datos del equipo al cual intentabas
conectarte por SSH y obtenías error.

Nos vemos
liuber's




---------------------------------------
   Red Telematica de Salud - Cuba
         CNICM - Infomed


--
To UNSUBSCRIBE, email to debian-user-spanish-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




Otra solución más rápida podría ser:

sed -i '<Numero de línea a eliminar>d' fichero

En tu caso, quedaría así

sed -i '1d' .ssh/known_hosts

Esto eliminaría la línea 1 de tu ficheros de llaves SSH que en este caso es la que te está generando el error...

Slds
Willians

---------------------------------------
   Red Telematica de Salud - Cuba
   	  CNICM - Infomed


Reply to: