<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://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://peterpap.net/index.php?action=history&amp;feed=atom&amp;title=Enabling_Secure_access_with_SSH"/>
	<link rel="alternate" type="text/html" href="https://peterpap.net/index.php?title=Enabling_Secure_access_with_SSH&amp;action=history"/>
	<updated>2026-10-04T00:11:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://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://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 style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; 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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    login authentication local_auth&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    login authentication local_auth&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    transport input ssh&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    transport input ssh&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    line vty 5 15&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    line vty 5 15&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    transport input ssh&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    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://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://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&amp;#039;s sometimes handy to have SSH enabled on a switch.  Here&amp;#039;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>