<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <meta name="GENERATOR" content="Quadralay WebWorks AutoMap 2003 Platinum Edition Client for FrameMaker 8.6.6597.0" />
    <meta name="TEMPLATEBASE" content="emwebh8-1-17" />
    <meta name="LASTUPDATED" content="08/01/13 14:47:46" />
    <title>Generating the SSH Server Key Pair  </title>
    <!-- Copyright 2010-2013, Cisco Systems, Inc. All rights reserved. -->

    <link rel="StyleSheet" href="document.css" type="text/css" />
    <link rel="StyleSheet" href="catalog.css" type="text/css" />


<script> 
    var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1; 
   
    if(is_chrome){document.domain=document.domain}
   </script>
    <script type="text/javascript" language="JavaScript1.2" src="expand.js"></script>
    <script type="text/javascript" language="JavaScript1.2" src="page.js"></script>

    <script type="text/javascript" language="JavaScript1.2">
     <!--
      function  WWNoOp() {}
      function  WWNoValue() { return ""; }

      var  VarDropDown;

      if (typeof(HTMLHelp_Object) != "undefined")
      {
        VarDropDown = new WWDropDown_Object();
      }
      else
      {
        VarDropDown = new Object();
        VarDropDown.fAnchorOpen  = WWNoOp;
        VarDropDown.fAnchorClose = WWNoOp;
        VarDropDown.fDIVOpen  = WWNoOp;
        VarDropDown.fDIVClose = WWNoOp;
      }
     // -->
    </script>

  
<SCRIPT language="javascript">
<!--
  self.document.write("<link href='"+top.relPath+"shared/style.css' rel='stylesheet' type='text/css'>");
  myid=1537;
  self.document.write("<script type='text/javascript' language='JavaScript' src='"+top.relPath+"shared/con_utils.js'></scr"+"ipt>");
//-->
</SCRIPT>
</head>

  <body onload="highlightSearchTerms();" bgcolor="#ffffff">

    
    <blockquote>
    <a name="top"></a>

    
    


<a name="wp1079319"> </a><h1 class="pTitle">
Generating the SSH Server Key Pair 

</h1>
<a name="wp1075090"> </a><p class="pBody">
Ensure that you have an SSH server key pair with the appropriate version before enabling the SSH 
service. Generate the SSH server key pair according to the SSH client version used. The number of bits 
specified for each key pair ranges from 768 to 2048. 

</p>
<a name="wp1075091"> </a><p class="pBody">
The SSH service accepts two types of key pairs for use by SSH version 2. 

</p>
<div class="pSmartList1"><ul class="pSmartList1">
<a name="wp1075095"> </a><li class="pSmartList1">The <b class="cBold">dsa </b>option generates the DSA key pair for the SSH version 2 protocol.
</li>
<a name="wp1075097"> </a><li class="pSmartList1">The <b class="cBold">rsa</b> option generates the RSA keypair for the SSH version 2 protocol.
</li>
<a name="wp1075098"> </a><p class="pCaution">
<table border="0">
<tr>
<td>
<strong>Caution	&nbsp;&nbsp;&nbsp;</strong>
</td>
<td>
<p>If you delete all of the SSH keys, you cannot start a new SSH session.
</p>
</td>
</tr>
</table>

</p>
</ul></div>
<a name="wp1079257"> </a><h2 class="pHeading2">
Detailed Steps
</h2>
<a name="wp1129642"> </a><p class="pBody">
To generate the SSH key pair using DCNM-SAN, follow these steps:

</p>
<div class="pSmartList1"><ol type="1" class="pSmartList1">
<a name="wp1129643"> </a><li class="pSmartList1">Expand <span style="font-weight: bold">Switches &gt; Security </span>and then select <span style="font-weight: bold">SSH and Telnet</span>.
</li>
<a name="wp1129644"> </a><li class="pSmartList1">Click the <span style="font-weight: bold">Create Row</span> icon.
</li>
<a name="wp1129648"> </a><p class="pListBodyLevel1">
You see the SSH and Telnet Key - Create dialog box. 

</p>
<a name="wp1129654"> </a><p class="pBodyRelative">

</p>
<a name="wp1129655"> </a><li class="pSmartList1">Check the switches you want to assign to this SSH key pair.
</li>
<a name="wp1129656"> </a><li class="pSmartList1">Choose the key pair option type from the listed Protocols. The listed protocols are SSH1, SSH2(rsa), and 
SSH2(dsa).
</li>
<a name="wp1129657"> </a><li class="pSmartList1">Set the number of bits that will be used to generate the key pairs in the NumBits drop-down menu.
</li>
<a name="wp1129658"> </a><li class="pSmartList1">Click <span style="font-weight: bold">Create</span> to generate these keys.
</li>
<a name="wp1075164"> </a><p class="pListNote1">
<strong>Note	&nbsp;&nbsp;&nbsp;</strong> 1856 DSA NumberKeys are not supported by switches that running Cisco MDS NX-OS software 
version 4.1(1) and later.

</p>
</ol></div>
<hr /><br><p class="pBody">Copyright 2010-2013, Cisco Systems, Inc. All rights reserved.</p> 

    </blockquote>

  </body>
</html>
