码迷,mamicode.com
首页 > 系统相关 > 详细

setup passphaseless ssh before installing hadoop on ubuntu

时间:2017-08-10 14:39:54      阅读:214      评论:0      收藏:0      [点我收藏+]

标签:doc   ssh   org   localhost   optional   pass   clu   chm   rsa   

This can refer to hadoop main page below for setuping passphaseless ssh:

http://hadoop.apache.org/docs/r2.6.5/hadoop-project-dist/hadoop-common/SingleCluster.html

1) install ssh on ubuntu: sudo apt-get install ssh(ssh localhost)

2) ssh-keygen(or ssh-keygen -t rsa).

3) cd ~/.ssh

4) cat id_rsa.pub >> authorized_keys.

5) chmod og-wx authorized_keys(this step is optional).

 

setup passphaseless ssh before installing hadoop on ubuntu

标签:doc   ssh   org   localhost   optional   pass   clu   chm   rsa   

原文地址:http://www.cnblogs.com/wuxibo/p/7339098.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!