<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.peterpap.net/index.php?action=history&amp;feed=atom&amp;title=Enabling_Secure_access_with_SSH</id>
		<title>Enabling Secure access with SSH - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.peterpap.net/index.php?action=history&amp;feed=atom&amp;title=Enabling_Secure_access_with_SSH"/>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Enabling_Secure_access_with_SSH&amp;action=history"/>
		<updated>2026-05-05T01:48:37Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.1</generator>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Enabling_Secure_access_with_SSH&amp;diff=66&amp;oldid=prev</id>
		<title>Ppapa at 03:53, 21 September 2010</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Enabling_Secure_access_with_SSH&amp;diff=66&amp;oldid=prev"/>
				<updated>2010-09-21T03:53:53Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 03:53, 21 September 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot; &gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  login authentication local_auth&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  login authentication local_auth&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  transport input ssh&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  transport input ssh&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  line vty 5 15&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  line vty 5 15&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  transport input ssh&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  transport input ssh&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	<entry>
		<id>https://www.peterpap.net/index.php?title=Enabling_Secure_access_with_SSH&amp;diff=65&amp;oldid=prev</id>
		<title>Ppapa: Created page with &quot;In order to be able to enable SSH access to a switch, you first need to make sure you have an IOS crypto image installed on the switch.  I usually do not configure SSH or telnet ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.peterpap.net/index.php?title=Enabling_Secure_access_with_SSH&amp;diff=65&amp;oldid=prev"/>
				<updated>2010-09-21T03:53:35Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;In order to be able to enable SSH access to a switch, you first need to make sure you have an IOS crypto image installed on the switch.  I usually do not configure SSH or telnet ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In order to be able to enable SSH access to a switch, you first need to make sure you have an IOS crypto image installed on the switch.  I usually do not configure SSH or telnet on my switches.  Being a paranoid Sys Admin, I prefer y switches to only be accessible from a console switch, on a secure management network.  That being said, it's sometimes handy to have SSH enabled on a switch.  Here's how you do it.&lt;br /&gt;
&lt;br /&gt;
1. Set a hostname and default domain&lt;br /&gt;
&lt;br /&gt;
   conf t&lt;br /&gt;
   hostname somehostname&lt;br /&gt;
   ip domain-name somedomain.com&lt;br /&gt;
&lt;br /&gt;
2. Generate the crypto keys&lt;br /&gt;
&lt;br /&gt;
   cry key generate rsa&lt;br /&gt;
&lt;br /&gt;
Choose 1024 minimum!&lt;br /&gt;
&lt;br /&gt;
3. Set SSH parameters&lt;br /&gt;
&lt;br /&gt;
   ip ssh time-out 60&lt;br /&gt;
   ip ssh authentication-retries 2&lt;br /&gt;
&lt;br /&gt;
4. Create a username and password to log on with&lt;br /&gt;
&lt;br /&gt;
   aaa new-model&lt;br /&gt;
   aaa authentication login local_auth local&lt;br /&gt;
   username someuser secret somepassword&lt;br /&gt;
&lt;br /&gt;
5. Enable SSH and disable telnet&lt;br /&gt;
&lt;br /&gt;
   line vty 0 4&lt;br /&gt;
   login authentication local_auth&lt;br /&gt;
   transport input ssh&lt;br /&gt;
&lt;br /&gt;
   line vty 5 15&lt;br /&gt;
   transport input ssh&lt;br /&gt;
   login authentication local_auth&lt;br /&gt;
   end&lt;br /&gt;
&lt;br /&gt;
6. Write your changes to flash&lt;br /&gt;
&lt;br /&gt;
   wr mem&lt;/div&gt;</summary>
		<author><name>Ppapa</name></author>	</entry>

	</feed>