殇帝刘玢你 发表于 2018-10-28 15:24:39

Hadoop Database安装手册

hadoop@bdi:~$ ssh-keygen -t rsa  Generating public/private rsa key pair.
  Enter file in which to save the key (/home/hadoop/.ssh/id_rsa):
  Created directory '/home/hadoop/.ssh'.
  Enter passphrase (empty for no passphrase):
  Enter same passphrase again:

  Your>  Your public key has been saved in /home/hadoop/.ssh/id_rsa.pub.
  The key fingerprint is:
  SHA256:8a7/pCryrmEaTS0Gy/Vm0IdJjPt2DJGlXsmBRz82jK8 hadoop@bdi
  The key's randomart image is:
  +-------+
  |   o.=+      |
  |    .o==.*       |
  |. o.=oB *      |
  | . +.=.o = o   |
  |o +.*oS o      |
  |   + +o oo       |
  |. +. .E . .    |
  |   +.... o   |
  |. .=o.ooo..    |
  +---------+
  hadoop@bdi:~$ cd .ssh/

  hadoop@bdi:~/.ssh$ ssh-copy-id -i>  /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "id_rsa.pub"
  The authenticity of host 'localhost (127.0.0.1)' can't be established.
  ECDSA key fingerprint is SHA256:1tE3j//p5LSl88OgjJBzZQHvOaHayRDoRk0qp3J3ABk.
  Are you sure you want to continue connecting (yes/no)? yes
  /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
  /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
  hadoop@localhost's password:
  Number of key(s) added: 1
  Now try logging into the machine, with:   "ssh 'localhost'"
  and check to make sure that only the key(s) you wanted were added.

页: [1]
查看完整版本: Hadoop Database安装手册