 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Network technologies and trends &#187; How to disable SSH in Cisco devices</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/network-technologies/tag/how-to-disable-ssh-in-cisco-devices/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/network-technologies</link>
	<description></description>
	<lastBuildDate>Wed, 15 May 2013 18:52:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How to disable SSH in Cisco Devices?</title>
		<link>http://itknowledgeexchange.techtarget.com/network-technologies/how-to-disable-ssh-in-cisco-devices/</link>
		<comments>http://itknowledgeexchange.techtarget.com/network-technologies/how-to-disable-ssh-in-cisco-devices/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 06:38:34 +0000</pubDate>
		<dc:creator>Yasir Irfan</dc:creator>
				<category><![CDATA[Cisco Commands]]></category>
		<category><![CDATA[Cisco Networking]]></category>
		<category><![CDATA[Cisco Router]]></category>
		<category><![CDATA[Cisco Switch]]></category>
		<category><![CDATA[Cisco Tips]]></category>
		<category><![CDATA[Cisco-remote-access]]></category>
		<category><![CDATA[crypto key zeroize rsa]]></category>
		<category><![CDATA[Disable SSH]]></category>
		<category><![CDATA[disable SSH in Cisco routers]]></category>
		<category><![CDATA[disable SSH in Cisco Switches]]></category>
		<category><![CDATA[enable SSH]]></category>
		<category><![CDATA[How to disable SSH in Cisco devices]]></category>
		<category><![CDATA[Network Technologies and Trends]]></category>
		<category><![CDATA[remote access]]></category>
		<category><![CDATA[Router Configuration]]></category>
		<category><![CDATA[Routing and Switching]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[ssh disable]]></category>
		<category><![CDATA[ssh enable]]></category>
		<category><![CDATA[ssh reconfigure]]></category>
		<category><![CDATA[Switch Configuration]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/network-technologies/how-to-disable-ssh-in-cisco-devices/</guid>
		<description><![CDATA[We all know the importance of SSH, and it is one of most used method for remote access of Cisco Devices either it might be a Cisco Router or a Cisco Switch. Most of the Network Engineers I come across say it is so complicated to either enable or disable the SSH in Cisco Devices. [...]]]></description>
				<content:encoded><![CDATA[<p><span><span style="font-size: small"></span></span></p>
<p><span><span style="font-size: small"><span style="font-family: Calibri">We all know the importance of SSH, and it is one of most used method for remote access of Cisco Devices either it might be a Cisco Router or a Cisco Switch. Most of the Network Engineers I come across say it is so complicated to either enable or disable the SSH in Cisco Devices.</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"><span><span style="font-size: small"><span style="font-family: Calibri"><span> </span>If you simply try to use “no commands” </span></span><a href="http://itknowledgeexchange.techtarget.com/network-technologies/what-is-ssh-and-how-it-can-be-configured-in-a-cisco-switch/"><span style="font-family: Calibri;font-size: small">used to enable SSH</span></a><span style="font-size: small"><span style="font-family: Calibri"> it will not work. Here is the tip to disable the SSH in either Cisco Router or Cisco Switches.</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"><span><span style="font-family: Calibri;font-size: small"> </span></span><strong><span><span style="font-size: small"><span style="font-family: Calibri">Commands used to enable SSH in a Cisco Device</span></span></span></strong></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="color: #632423"><span style="font-size: small"><span style="font-family: Calibri">ITKE-AS1(config)#ip domain-name itke.com</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="color: #632423"><span style="font-size: small"><span style="font-family: Calibri">ITKE-AS1(config)#crypto key generate rsa general-keys modulus 512</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="color: #632423"><span style="font-size: small"><span style="font-family: Calibri">The name for the keys will be: ITKE-AS1.itke.com</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="color: #632423"><span style="font-family: Calibri;font-size: small"> </span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="color: #632423"><span style="font-size: small"><span style="font-family: Calibri">% The key modulus size is 512 bits</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="color: #632423"><span style="font-size: small"><span style="font-family: Calibri">% Generating 512 bit RSA keys, keys will be non-exportable&#8230;[OK]</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="color: #632423"><span style="font-family: Calibri;font-size: small"> </span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="color: #632423"><span style="font-size: small"><span style="font-family: Calibri">ITKE-AS1(config)#</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="color: #632423"><span style="font-size: small"><span style="font-family: Calibri">ITKE-AS1(config)#aaa new-model</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="color: #632423"><span style="font-size: small"><span style="font-family: Calibri">ITKE-AS1(config)#aaa authentication login default local</span></span></span></p>
<p class="MsoNoSpacing" style="margin: 0in 0in 0pt"><span style="color: #632423"><span style="font-size: small"><span style="font-family: Calibri">ITKE-AS1(config)#aaa authentication exec default local</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"><span><span style="font-family: Calibri;font-size: small"> </span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"><strong><span><span style="font-size: small"><span style="font-family: Calibri">Commands used to disable SSH in a Cisco Device</span></span></span></strong></p>
<p class="MsoNormal" style="margin: 0in 0in 10pt"><span><span style="font-size: small"><span style="font-family: Calibri">Do notice if you use the command <strong>“no crypto key generate rsa” </strong>it will not work rather the device will suggest you to use the <strong>&#8216;crypto key zeroize rsa&#8217;</strong> command, amazing isn’t it</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0.9pt 0pt 0in"><span style="color: #632423"><span style="font-size: small"><span style="font-family: Calibri">ITKE-AS1(config)#no crypto key generate rsa </span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0.9pt 0pt 17.6pt"><span style="color: #632423"><span style="font-size: small"><span style="font-family: Calibri">% Use &#8216;crypto key zeroize rsa&#8217; to delete signature keys.</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0.9pt 0pt 17.6pt"><span style="color: #632423"><span style="font-family: Calibri;font-size: small"> </span></span></p>
<p class="MsoNormal" style="margin: 0in 0.9pt 0pt 0in"><span style="color: #632423"><span style="font-size: small"><span style="font-family: Calibri">ITKE-AS1(config)#crypto key zeroize rsa </span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0.9pt 0pt 17.6pt"><span style="color: #632423"><span style="font-size: small"><span style="font-family: Calibri">% All RSA keys will be removed.</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0.9pt 0pt 17.6pt"><span style="color: #632423"><span style="font-size: small"><span style="font-family: Calibri">% All router certs issued using these keys will</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0.9pt 0pt 17.6pt"><span style="color: #632423"><span style="font-size: small"><span style="font-family: Calibri">will also be removed.</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0.9pt 0pt 17.6pt"><span style="color: #632423"><span style="font-size: small"><span style="font-family: Calibri">Do you really want to remove these keys? [yes/no]: yes</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0.9pt 0pt 0in"><span style="color: #632423"><span style="font-size: small"><span style="font-family: Calibri">ITKE-AS1(config)#</span></span></span></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/network-technologies/how-to-disable-ssh-in-cisco-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
