Monday, May 19, 2014

[GPFS] Authenticate ssh, rsh before GPFS configuration

Authenticate ssh, rsh connection using DSA or RSA before GPFS configuration</titile> <meta description="How to jauthenticate ssh, rsh connection using DSA or RSA bfore GPFS configuration"> If you want to make a connection between GPFS nodes, you need to config and authenticte rsh or ssh connection each other. I recommend you ssh connection and DSA authentication for security. (It's the same way to get a RSA authentication.)<br /> <br /> 1. test each server whether ssh authentication is well connected or not<br /> <b>node1# ssh root@node2_name ls</b><br /> <b>node2# ssh root@node1_name ls</b><br /> <br /> If password required when you insert upper command, you need to get a ssh authentication(go to second procedure)<br /> <br /> 2. Generate DSA key on both nodes as a below picture.<br /> Then you will see the path of id_dsa and id_dsa.pub files.<br /> (when enter, just press enter)<br /> <br /> <b># ssh-keygen -t dsa or # ssh-keygen -t rsa</b><br /> <br /> <img alt="ssh1" height="352" src="https://farm3.staticflickr.com/2935/14219962565_ef6b9b2dc3_o.png" width="640" /> <br /> <br /> 3. Change the directory to '.ssh', you can see the '.pub' file generated. Move this file to the other node using scp.<br /> (if you use rsa, you just change the word from dsa to ras.)<br /> <br /> <b># scp /.ssh/id_dsa_pub 상대편노드:/.ssh/id_dsa_pub.본인노드</b><br /> <br /> In this picture<br /> <b>node1 # scp id_dsa.put node2:/.ssh/id_dsa_pub.node1</b><br /> <b>node2 # scp id_dsa.put node1:/.ssh/id_dsa_pub.node2</b><br /> <br /> <br /> <img alt="ssh2" height="343" src="https://farm6.staticflickr.com/5590/14196804356_3ae219dde1_o.png" width="640" /> <br /> <br /> 4. Insert tossed pub key to authorizd_keys it's own, authentication will be completed.<br /> <br /> <b># cat id_dsa_pub_file-name >> authorized_keys</b><br /> <br /> Excute below command at each other<br /> <b>node1# cat id_dsa_pub.node2 >> authorized_keys</b><br /> <b>node2# cat id_dsa_pub.node1 >> authorized_keys</b><br /> <br /> <br /> <img alt="ssh3" height="340" src="https://farm3.staticflickr.com/2895/14219962465_c980530a35_o.png" width="640" /> <br /> <br /> 5. If you complete until number 4, excute number 1 again for confirmation.<br /> <div> <br /></div> <div style='clear: both;'></div> </div> <div class='post-footer'> <div class='post-footer-line post-footer-line-1'> <span class='post-author vcard'> 작성자: <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'> <meta content='https://www.blogger.com/profile/17102480534020975366' itemprop='url'/> <a class='g-profile' href='https://www.blogger.com/profile/17102480534020975366' rel='author' title='author profile'> <span itemprop='name'>Unknown</span> </a> </span> </span> <span class='post-timestamp'> 시간: <meta content='http://anymentibm.blogspot.com/2014/05/gpfs-authenticate-ssh-rsh-before-gpfs.html' itemprop='url'/> <a class='timestamp-link' href='http://anymentibm.blogspot.com/2014/05/gpfs-authenticate-ssh-rsh-before-gpfs.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2014-05-19T01:09:00-07:00'>1:09 AM</abbr></a> </span> <span class='post-comment-link'> </span> <span class='post-icons'> </span> <div class='post-share-buttons goog-inline-block'> <a class='goog-inline-block share-button sb-email' href='https://www.blogger.com/share-post.g?blogID=1956383988831203730&postID=799579403798118384&target=email' target='_blank' title='Email This'><span class='share-button-link-text'>Email This</span></a><a class='goog-inline-block share-button sb-blog' href='https://www.blogger.com/share-post.g?blogID=1956383988831203730&postID=799579403798118384&target=blog' onclick='window.open(this.href, "_blank", "height=270,width=475"); return false;' target='_blank' title='BlogThis!'><span class='share-button-link-text'>BlogThis!</span></a><a class='goog-inline-block share-button sb-twitter' href='https://www.blogger.com/share-post.g?blogID=1956383988831203730&postID=799579403798118384&target=twitter' target='_blank' title='Share to X'><span class='share-button-link-text'>Share to X</span></a><a class='goog-inline-block share-button sb-facebook' href='https://www.blogger.com/share-post.g?blogID=1956383988831203730&postID=799579403798118384&target=facebook' onclick='window.open(this.href, "_blank", "height=430,width=640"); return false;' target='_blank' title='Share to Facebook'><span class='share-button-link-text'>Share to Facebook</span></a><a class='goog-inline-block share-button sb-pinterest' href='https://www.blogger.com/share-post.g?blogID=1956383988831203730&postID=799579403798118384&target=pinterest' target='_blank' title='Share to Pinterest'><span class='share-button-link-text'>Share to Pinterest</span></a> </div> </div> <div class='post-footer-line post-footer-line-2'> <span class='post-labels'> 라벨: <a href='http://anymentibm.blogspot.com/search/label/GPFS' rel='tag'>GPFS</a> </span> </div> <div class='post-footer-line post-footer-line-3'> <span class='post-location'> </span> </div> </div> </div> <div class='comments' id='comments'> <a name='comments'></a> <h4>No comments:</h4> <div id='Blog1_comments-block-wrapper'> <dl class='avatar-comment-indent' id='comments-block'> </dl> </div> <p class='comment-footer'> <div class='comment-form'> <a name='comment-form'></a> <h4 id='comment-post-message'>Post a Comment</h4> <p> </p> <a href='https://www.blogger.com/comment/frame/1956383988831203730?po=799579403798118384&hl=en&saa=85391&origin=http://anymentibm.blogspot.com' id='comment-editor-src'></a> <iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='410px' id='comment-editor' name='comment-editor' src='' width='100%'></iframe> <script src='https://www.blogger.com/static/v1/jsbin/1167892209-comment_from_post_iframe.js' type='text/javascript'></script> <script type='text/javascript'> BLOG_CMT_createIframe('https://www.blogger.com/rpc_relay.html'); </script> </div> </p> </div> </div> </div></div> </div> <div class='blog-pager' id='blog-pager'> <span id='blog-pager-newer-link'> <a class='blog-pager-newer-link' href='http://anymentibm.blogspot.com/2014/05/gpfs-adding-disk-to-filesystem.html' id='Blog1_blog-pager-newer-link' title='Newer Post'>Newer Post</a> </span> <span id='blog-pager-older-link'> <a class='blog-pager-older-link' href='http://anymentibm.blogspot.com/2014/05/aix-etherchannel-configuration-and.html' id='Blog1_blog-pager-older-link' title='Older Post'>Older Post</a> </span> <a class='home-link' href='http://anymentibm.blogspot.com/'>Home</a> </div> <div class='clear'></div> <div class='post-feeds'> <div class='feed-links'> Subscribe to: <a class='feed-link' href='http://anymentibm.blogspot.com/feeds/799579403798118384/comments/default' target='_blank' type='application/atom+xml'>Post Comments (Atom)</a> </div> </div> </div></div> </div> </div> <div class='column-left-outer'> <div class='column-left-inner'> <aside> </aside> </div> </div> <div class='column-right-outer'> <div class='column-right-inner'> <aside> <div class='sidebar section' id='sidebar-right-1'><div class='widget Profile' data-version='1' id='Profile1'> <h2>About Me</h2> <div class='widget-content'> <dl class='profile-datablock'> <dt class='profile-data'> <a class='profile-name-link g-profile' href='https://www.blogger.com/profile/17102480534020975366' rel='author' style='background-image: url(//www.blogger.com/img/logo-16.png);'> Unknown </a> </dt> </dl> <a class='profile-link' href='https://www.blogger.com/profile/17102480534020975366' rel='author'>View my complete profile</a> <div class='clear'></div> </div> </div></div> <table border='0' cellpadding='0' cellspacing='0' class='section-columns columns-2'> <tbody> <tr> <td class='first columns-cell'> <div class='sidebar section' id='sidebar-right-2-1'><div class='widget HTML' data-version='1' id='HTML3'> <div class='widget-content'> aaa </div> <div class='clear'></div> </div><div class='widget BlogArchive' data-version='1' id='BlogArchive1'> <h2>Blog Archive</h2> <div class='widget-content'> <div id='ArchiveList'> <div id='BlogArchive1_ArchiveList'> <ul class='hierarchy'> <li class='archivedate expanded'> <a class='toggle' href='javascript:void(0)'> <span class='zippy toggle-open'> ▼  </span> </a> <a class='post-count-link' href='http://anymentibm.blogspot.com/2014/'> 2014 </a> <span class='post-count' dir='ltr'>(6)</span> <ul class='hierarchy'> <li class='archivedate expanded'> <a class='toggle' href='javascript:void(0)'> <span class='zippy toggle-open'> ▼  </span> </a> <a class='post-count-link' href='http://anymentibm.blogspot.com/2014/05/'> May </a> <span class='post-count' dir='ltr'>(6)</span> <ul class='posts'> <li><a href='http://anymentibm.blogspot.com/2014/05/gpfs-adding-disk-to-filesystem.html'>[GPFS] Adding a disk to the filesystem concurrently</a></li> <li><a href='http://anymentibm.blogspot.com/2014/05/gpfs-authenticate-ssh-rsh-before-gpfs.html'>[GPFS] Authenticate ssh, rsh before GPFS configura...</a></li> <li><a href='http://anymentibm.blogspot.com/2014/05/aix-etherchannel-configuration-and.html'>[AIX] Etherchannel Configuration and Change</a></li> <li><a href='http://anymentibm.blogspot.com/2014/05/aixhow-to-configure-crontab.html'>[AIX]How to configure Crontab</a></li> <li><a href='http://anymentibm.blogspot.com/2014/05/aix-how-to-make-alt-disk-using.html'>[AIX] How to make 'alt disk' using alt_disk_install</a></li> <li><a href='http://anymentibm.blogspot.com/2014/05/aix-time-setting-on-aix-using-xntp.html'>[aix] time setting on aix using xntp daemon</a></li> </ul> </li> </ul> </li> </ul> </div> </div> <div class='clear'></div> </div> </div></div> </td> <td class='columns-cell'> <div class='sidebar no-items section' id='sidebar-right-2-2'></div> </td> </tr> </tbody> </table> <div class='sidebar no-items section' id='sidebar-right-3'></div> </aside> </div> </div> </div> <div style='clear: both'></div> <!-- columns --> </div> <!-- main --> </div> </div> <div class='main-cap-bottom cap-bottom'> <div class='cap-left'></div> <div class='cap-right'></div> </div> </div> <footer> <div class='footer-outer'> <div class='footer-cap-top cap-top'> <div class='cap-left'></div> <div class='cap-right'></div> </div> <div class='fauxborder-left footer-fauxborder-left'> <div class='fauxborder-right footer-fauxborder-right'></div> <div class='region-inner footer-inner'> <div class='foot section' id='footer-1'><div class='widget HTML' data-version='1' id='HTML2'> <div class='widget-content'> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- Tistory - 하단 --> <ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="ca-pub-1623744802723165" data-ad-slot="3701123339"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> <div class='clear'></div> </div></div> <table border='0' cellpadding='0' cellspacing='0' class='section-columns columns-2'> <tbody> <tr> <td class='first columns-cell'> <div class='foot no-items section' id='footer-2-1'></div> </td> <td class='columns-cell'> <div class='foot no-items section' id='footer-2-2'></div> </td> </tr> </tbody> </table> <!-- outside of the include in order to lock Attribution widget --> <div class='foot section' id='footer-3'><div class='widget Attribution' data-version='1' id='Attribution1'> <div class='widget-content' style='text-align: center;'> Simple theme. Theme images by <a href='http://www.istockphoto.com/googleimages.php?id=4072573&platform=blogger&langregion=en' target='_blank'>gaffera</a>. Powered by <a href='https://www.blogger.com' target='_blank'>Blogger</a>. </div> <div class='clear'></div> </div></div> </div> </div> <div class='footer-cap-bottom cap-bottom'> <div class='cap-left'></div> <div class='cap-right'></div> </div> </div> </footer> <!-- content --> </div> </div> <div class='content-cap-bottom cap-bottom'> <div class='cap-left'></div> <div class='cap-right'></div> </div> </div> </div> <script type='text/javascript'> window.setTimeout(function() { document.body.className = document.body.className.replace('loading', ''); }, 10); </script> <script type="text/javascript" src="https://www.blogger.com/static/v1/widgets/2422103421-widgets.js"></script> <script type='text/javascript'> window['__wavt'] = 'AOuZoY6e4vJDMYzfstqbE2u8uY1RVKbbdw:1754180653448';_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d1956383988831203730','//anymentibm.blogspot.com/2014/05/gpfs-authenticate-ssh-rsh-before-gpfs.html','1956383988831203730'); _WidgetManager._SetDataContext([{'name': 'blog', 'data': {'blogId': '1956383988831203730', 'title': 'anymentIBM', 'url': 'http://anymentibm.blogspot.com/2014/05/gpfs-authenticate-ssh-rsh-before-gpfs.html', 'canonicalUrl': 'http://anymentibm.blogspot.com/2014/05/gpfs-authenticate-ssh-rsh-before-gpfs.html', 'homepageUrl': 'http://anymentibm.blogspot.com/', 'searchUrl': 'http://anymentibm.blogspot.com/search', 'canonicalHomepageUrl': 'http://anymentibm.blogspot.com/', 'blogspotFaviconUrl': 'http://anymentibm.blogspot.com/favicon.ico', 'bloggerUrl': 'https://www.blogger.com', 'hasCustomDomain': false, 'httpsEnabled': true, 'enabledCommentProfileImages': true, 'gPlusViewType': 'FILTERED_POSTMOD', 'adultContent': false, 'analyticsAccountNumber': '', 'encoding': 'UTF-8', 'locale': 'en', 'localeUnderscoreDelimited': 'en', 'languageDirection': 'ltr', 'isPrivate': false, 'isMobile': false, 'isMobileRequest': false, 'mobileClass': '', 'isPrivateBlog': false, 'isDynamicViewsAvailable': true, 'feedLinks': '\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22anymentIBM - Atom\x22 href\x3d\x22http://anymentibm.blogspot.com/feeds/posts/default\x22 /\x3e\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/rss+xml\x22 title\x3d\x22anymentIBM - RSS\x22 href\x3d\x22http://anymentibm.blogspot.com/feeds/posts/default?alt\x3drss\x22 /\x3e\n\x3clink rel\x3d\x22service.post\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22anymentIBM - Atom\x22 href\x3d\x22https://www.blogger.com/feeds/1956383988831203730/posts/default\x22 /\x3e\n\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22anymentIBM - Atom\x22 href\x3d\x22http://anymentibm.blogspot.com/feeds/799579403798118384/comments/default\x22 /\x3e\n', 'meTag': '', 'adsenseClientId': 'ca-pub-1623744802723165', 'adsenseHostId': 'ca-host-pub-1556223355139109', 'adsenseHasAds': false, 'adsenseAutoAds': false, 'boqCommentIframeForm': true, 'loginRedirectParam': '', 'view': '', 'dynamicViewsCommentsSrc': '//www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js', 'dynamicViewsScriptSrc': '//www.blogblog.com/dynamicviews/8063e825842ed3ac', 'plusOneApiSrc': 'https://apis.google.com/js/platform.js', 'disableGComments': true, 'interstitialAccepted': false, 'sharing': {'platforms': [{'name': 'Get link', 'key': 'link', 'shareMessage': 'Get link', 'target': ''}, {'name': 'Facebook', 'key': 'facebook', 'shareMessage': 'Share to Facebook', 'target': 'facebook'}, {'name': 'BlogThis!', 'key': 'blogThis', 'shareMessage': 'BlogThis!', 'target': 'blog'}, {'name': 'X', 'key': 'twitter', 'shareMessage': 'Share to X', 'target': 'twitter'}, {'name': 'Pinterest', 'key': 'pinterest', 'shareMessage': 'Share to Pinterest', 'target': 'pinterest'}, {'name': 'Email', 'key': 'email', 'shareMessage': 'Email', 'target': 'email'}], 'disableGooglePlus': true, 'googlePlusShareButtonWidth': 0, 'googlePlusBootstrap': '\x3cscript type\x3d\x22text/javascript\x22\x3ewindow.___gcfg \x3d {\x27lang\x27: \x27en\x27};\x3c/script\x3e'}, 'hasCustomJumpLinkMessage': false, 'jumpLinkMessage': 'Read more', 'pageType': 'item', 'postId': '799579403798118384', 'postImageUrl': 'https://farm3.staticflickr.com/2935/14219962565_ef6b9b2dc3_o.png', 'pageName': '[GPFS] Authenticate ssh, rsh before GPFS configuration', 'pageTitle': 'anymentIBM: [GPFS] Authenticate ssh, rsh before GPFS configuration'}}, {'name': 'features', 'data': {}}, {'name': 'messages', 'data': {'edit': 'Edit', 'linkCopiedToClipboard': 'Link copied to clipboard!', 'ok': 'Ok', 'postLink': 'Post Link'}}, {'name': 'template', 'data': {'name': 'custom', 'localizedName': 'Custom', 'isResponsive': false, 'isAlternateRendering': false, 'isCustom': true, 'variant': 'wide', 'variantId': 'wide'}}, {'name': 'view', 'data': {'classic': {'name': 'classic', 'url': '?view\x3dclassic'}, 'flipcard': {'name': 'flipcard', 'url': '?view\x3dflipcard'}, 'magazine': {'name': 'magazine', 'url': '?view\x3dmagazine'}, 'mosaic': {'name': 'mosaic', 'url': '?view\x3dmosaic'}, 'sidebar': {'name': 'sidebar', 'url': '?view\x3dsidebar'}, 'snapshot': {'name': 'snapshot', 'url': '?view\x3dsnapshot'}, 'timeslide': {'name': 'timeslide', 'url': '?view\x3dtimeslide'}, 'isMobile': false, 'title': '[GPFS] Authenticate ssh, rsh before GPFS configuration', 'description': 'Authenticate ssh, rsh connection using DSA or RSA before GPFS configuration If you want to make a connection between GPFS nodes, you need...', 'featuredImage': 'https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_vW-Av6CuwflrwWbL1kShC-phpVu2zeeJjcQimyyedvBb7AhvtcIo8_3d8hRPrdpOvAo4Fa1LT9KMbBznialdZNiGh8L9-YVjCPFaaIxkBBIp9FA--tWkRNyC3HqCqy4a37PLU', 'url': 'http://anymentibm.blogspot.com/2014/05/gpfs-authenticate-ssh-rsh-before-gpfs.html', 'type': 'item', 'isSingleItem': true, 'isMultipleItems': false, 'isError': false, 'isPage': false, 'isPost': true, 'isHomepage': false, 'isArchive': false, 'isLabelSearch': false, 'postId': 799579403798118384}}]); _WidgetManager._RegisterWidget('_NavbarView', new _WidgetInfo('Navbar1', 'navbar', document.getElementById('Navbar1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HeaderView', new _WidgetInfo('Header1', 'header', document.getElementById('Header1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML1', 'crosscol', document.getElementById('HTML1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogView', new _WidgetInfo('Blog1', 'main', document.getElementById('Blog1'), {'cmtInteractionsEnabled': false}, 'displayModeFull')); _WidgetManager._RegisterWidget('_ProfileView', new _WidgetInfo('Profile1', 'sidebar-right-1', document.getElementById('Profile1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML3', 'sidebar-right-2-1', document.getElementById('HTML3'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogArchiveView', new _WidgetInfo('BlogArchive1', 'sidebar-right-2-1', document.getElementById('BlogArchive1'), {'languageDirection': 'ltr', 'loadingMessage': 'Loading\x26hellip;'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML2', 'footer-1', document.getElementById('HTML2'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_AttributionView', new _WidgetInfo('Attribution1', 'footer-3', document.getElementById('Attribution1'), {}, 'displayModeFull')); </script> </body> </html>