Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\online_help\tdprc\softpatch2012.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>Configuring SSH User Equivalency</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1 Build 135" /> <meta name="date" content="2009-06-04T14:31:51Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="Configuring SSH User Equivalency" /> <meta name="relnum" content="11g Release 2 (11.2)" /> <meta name="partnum" content="E10743-01" /> <link rel="copyright" href="./dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> <link rel="stylesheet" href="./dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" /> <link rel="contents" href="toc.htm" title="Contents" type="text/html" /> <link rel="prev" href="softpatch2011.htm" title="Previous" type="text/html" /> <link rel="next" href="softpatch2013.htm" title="Next" type="text/html" /> <script src="./callback.js" type="text/javascript"></script> <noscript>Your browser does not support JavaScript. This help page requires JavaScript to render correctly.</noscript> </head> <body> <div class="zz-skip-header"><a href="#BEGIN">Skip Headers</a></div> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr valign="bottom"> <td align="left"></td> <td align="center"><a href="softpatch2011.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="softpatch2013.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="BABFFHBE" name="BABFFHBE"></a><a id="TDPRC430" name="TDPRC430"></a></p> <div class="sect3"> <h1>Configuring SSH User Equivalency</h1> <a name="BEGIN" id="BEGIN"></a> <p><a id="sthref407" name="sthref407"></a>Before you patch a system, make sure the user equivalency is working. User equivalency exists when the operating system user on each node is considered to be identical. For information on configuring user equivalency, see <a href="preparing004.htm#BCGFEGIF">"Configuring Operating System Users and Groups"</a>.</p> <a id="TDPRC431" name="TDPRC431"></a> <p class="subhead2">To test SSH user equivalency:</p> <ol> <li> <p>On the system where you want to run OPatch, log in as the <code>oracle</code> user.</p> </li> <li> <p>Use the following command to test user equivalency:</p> <pre xml:space="preserve" class="oac_no_warn"> [oracle@docrac1] $ ssh docrac2 date </pre> <p>If the date is returned, then user equivalency between the source and destination node has been configured.</p> </li> <li> <p>If you see output similar to the following, then SSH user equivalency is not enabled:</p> <pre xml:space="preserve" class="oac_no_warn"> Enter passphrase for key '/home/oracle/.ssh/id_rsa': </pre> <p>Enable SSH user equivalency before continuing with the patching operation.</p> </li> </ol> <a id="TDPRC432" name="TDPRC432"></a> <p class="subhead2">To enable SSH user equivalency:</p> <ol> <li> <p>On the system where you want to run OPatch, open a command window and log in as the <code>oracle</code> user.</p> </li> <li> <p>Start the SSH agent and load the SSH keys into memory using the following commands:</p> <pre xml:space="preserve" class="oac_no_warn"> $ /usr/bin/ssh-agent $SHELL $ /usr/bin/ssh-add </pre> <p>These commands start the <code>ssh-agent</code> on the local node, and load the RSA and DSA keys into the current session's memory so that you are not prompted to use pass phrases when issuing SSH commands.</p> </li> <li> <p>At the prompt, enter the pass phrase for each key that you generated when configuring Secure Shell, for example:</p> <pre xml:space="preserve" class="oac_no_warn"> [oracle@docrac1 .ssh]$ exec /usr/bin/ssh-agent $SHELL [oracle@docrac1 .ssh]$ /usr/bin/ssh-add Enter passphrase for /home/oracle/.ssh/id_rsa Identity added: /home/oracle/.ssh/id_rsa (/home/oracle/.ssh/id_rsa) Identity added: /home/oracle/.ssh/id_dsa (/home/oracle/.ssh/id_dsa) </pre></li> <li> <p>To test if you have configured SSH correctly, run the following command. If you have configured SSH correctly, then you will not be prompted for a password or a pass phrase.</p> <pre xml:space="preserve" class="oac_no_warn"> [oracle@docrac1] $ ssh docrac2 date </pre></li> </ol> <div class="helpinfonote"> <p><span class="bold">Note: </span>Do not close this command window until you have completed the patch installation. If you must close the command window in which you enabled SSH user equivalency before the patch installation is complete, repeat Step 1 to Step 4 before starting the patch installation.</p> </div> <div class="helpinfonotealso"> <h2>Related Topics</h2> <p><a href="softpatch2007.htm#BABBDEJC">Preparing to Use OPatch</a></p> </div> </div> <!-- class="sect3" --> <!-- class="sect2" --> <!-- Start Footer --> <div class="footer"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr> <td align="left"><span class="copyrightlogo">Copyright © 2006, 2009, Oracle and/or its affiliates. All rights reserved.</span><br /> <a href="./dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td> <td align="center"><a href="softpatch2011.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="softpatch2013.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </div> <!-- class="footer" --> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de