
parrera
(usa Debian)
Enviado em 18/09/2012 - 16:28h
estou tentando fazer ssh sem senha para localhost[slave] primeiro.
o erro agora eh esse:
failed to add the host to the list of known hosts
quando eu tento acessar via outro pc (atraves do master), eh informado isso:
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
5b:1b:6a:8d:c2:9e:b5:18:46:49:5e:5e:91:bf:f9:5d.
Please contact your system administrator.
Add correct host key in /home/hadoop/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /home/hadoop/.ssh/known_hosts:3
remove with: ssh-keygen -f "/home/hadoop/.ssh/known_hosts" -R slave1
ECDSA host key for slave1 has changed and you have requested strict checking.
Host key verification failed.
lembrando que jah concatenei a chave .ssh/id_rsa.pub(master[localhost] e slave) para o .ssh/authorized_keys do slave.
em outra maquina (master) fazendo localhost eu consegui e meu arquivo sshd.conf tem essas diretivas (dentre outras):
RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile %h/.ssh/authorized_keys
PermitEmptyPasswords yes
PasswordAuthentication yes