系统:Ubuntu 12.04 (虚拟机安装)
首先在安装ssh是
$ sudo apt-get install ssh
$ sudo apt-get install rsync
然后配置ssh
hadoop@ubuntu:~$ ssh-keygen -t rsa -P ""
hadoop@ubuntu:~$ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
之后测试时:ssh localhost
出现这种问题:
The authenticity of host 'localhost
(127.0.0.1)' can't be established.
ECDSA key fingerprint is
cc:89:7e:7b:f5:42:5d:a3:0a:c5:30:dc:95:e2:c4:ef.
Are you sure you want to continue
connecting (yes/no)?
Host key verification failed.
不知道为什么?
求各位大师指导
ps:jdk是openJDK(系统自带的)
首先在安装ssh是
$ sudo apt-get install ssh
$ sudo apt-get install rsync
然后配置ssh
hadoop@ubuntu:~$ ssh-keygen -t rsa -P ""
hadoop@ubuntu:~$ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
之后测试时:ssh localhost
出现这种问题:
The authenticity of host 'localhost
(127.0.0.1)' can't be established.
ECDSA key fingerprint is
cc:89:7e:7b:f5:42:5d:a3:0a:c5:30:dc:95:e2:c4:ef.
Are you sure you want to continue
connecting (yes/no)?
Host key verification failed.
不知道为什么?
求各位大师指导
ps:jdk是openJDK(系统自带的)