<!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>	Passwordless File copy and SSH </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=1522;
  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="wp1075686"> </a><h1 class="pTitle">
	Passwordless File copy and SSH

</h1>
<a name="wp1075687"> </a><p class="pBody">
Secure Shell (SSH) public key authentication can be used to achieve password-free logins. SCP and 
SFTP uses SSH in the background, which enables these copy protocols to be used for a password-free 
copy with public key authentication. The NX-OS version only supports the SCP and STFP client 
functionality.

</p>
<a name="wp1075688"> </a><p class="pBody">
You can create an RSA and DSA identity that can be used for authentication with SSH. The identity 
consists of two parts: public and private keys. The public and the private keys are generated by the switch 
or can be generated externally and imported to the switch. For import purposes, the keys should be in 
OPENSSH format.

</p>
<a name="wp1075689"> </a><p class="pBody">
To use the key on a host machine hosting an SSH server, you must transfer the public key file to the 
machine and add the contents of it to the authorized_keys file in your SSH directory (for example, 
$HOME/.ssh) on the server. For the import and export of private keys, the key is protected by encryption. 
You are asked to enter the passphrase for the keys. If you enter a passphrase, the private key is protected 
by encryption. If you leave the password field blank, the key will not be encrypted. 

</p>
<a name="wp1075690"> </a><p class="pBody">
If you need to copy the keys to another switch, you will have to export the keys out of the switch to a 
host machine, and then import the keys to other switches from that machine. 

</p>
<a name="wp1075691"> </a><p class="pBody">
The key files are persistent across reload. 

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

    </blockquote>

  </body>
</html>
