浏览代码

HADOOP-12565. Replace DSA with RSA for SSH key type in SingleCluster.md. Contributed by Mingliang Liu.

(cherry picked from commit 3857fed2c8fc601b46e8331f73a3104f4f33e498)
Akira Ajisaka 9 年之前
父节点
当前提交
15c2f709c6

+ 3 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -905,6 +905,9 @@ Release 2.7.3 - UNRELEASED
 
 
     HADOOP-12482. Race condition in JMX cache update. (Tony Wu via lei)
     HADOOP-12482. Race condition in JMX cache update. (Tony Wu via lei)
 
 
+    HADOOP-12565. Replace DSA with RSA for SSH key type in SingleCluster.md.
+    (Mingliang Liu via aajisaka)
+
 Release 2.7.2 - UNRELEASED
 Release 2.7.2 - UNRELEASED
 
 
   INCOMPATIBLE CHANGES
   INCOMPATIBLE CHANGES

+ 2 - 2
hadoop-common-project/hadoop-common/src/site/markdown/SingleCluster.md.vm

@@ -137,8 +137,8 @@ Now check that you can ssh to the localhost without a passphrase:
 
 
 If you cannot ssh to localhost without a passphrase, execute the following commands:
 If you cannot ssh to localhost without a passphrase, execute the following commands:
 
 
-      $ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
-      $ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
+      $ ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa
+      $ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
       $ chmod 0600 ~/.ssh/authorized_keys
       $ chmod 0600 ~/.ssh/authorized_keys
 
 
 $H3 Execution
 $H3 Execution