Procházet zdrojové kódy

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

Akira Ajisaka před 9 roky
rodič
revize
3857fed2c8

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

@@ -1524,6 +1524,9 @@ Release 2.7.3 - UNRELEASED
 
     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
 
   INCOMPATIBLE CHANGES

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

@@ -138,8 +138,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:
 
-      $ 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
 
 $H3 Execution