<?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>RouterNotes.com &#187; Security</title>
	<atom:link href="http://routernotes.com/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://routernotes.com</link>
	<description>Networking and Mac OS X lessons learned in a Campus LAN environment</description>
	<lastBuildDate>Mon, 15 Sep 2008 18:01:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Create a web filtering firewall with IPcop and URFilter</title>
		<link>http://routernotes.com/2008/04/14/create-a-web-filtering-firewall-with-ipcop-and-urfilter/</link>
		<comments>http://routernotes.com/2008/04/14/create-a-web-filtering-firewall-with-ipcop-and-urfilter/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 16:36:22 +0000</pubDate>
		<dc:creator>siteadmin</dc:creator>
				<category><![CDATA[Firewall]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SOHO networking]]></category>
		<category><![CDATA[content filter]]></category>
		<category><![CDATA[IPcop]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[URLfilter]]></category>

		<guid isPermaLink="false">http://routernotes.com/2008/04/14/create-a-web-filtering-firewall-with-ipcop-and-urfilter/</guid>
		<description><![CDATA[With the URLfilter addon installed, an IPcop firewall can be turned into a free content-filtering web gateway perfect for a church, non-profit organization or home office. Access to inappropriate sites whether they be pornagraphic or just not work-related will be denied automatically at the firewall. Both IPcop and URLfilter are free to download and use.
 [...]


Related posts:<ol><li><a href='http://routernotes.com/2008/03/24/upgrade-to-an-open-source-firewall-an-overview-of-firewalls/' rel='bookmark' title='Permanent Link: Upgrade to an Open Source Firewall'>Upgrade to an Open Source Firewall</a> <small>Firewall companies have a little secret that they do not...</small></li><li><a href='http://routernotes.com/2008/02/08/cisco-sets-end-of-sale-for-pix-firewall/' rel='bookmark' title='Permanent Link: Cisco sets End of Sale for PIX Firewall'>Cisco sets End of Sale for PIX Firewall</a> <small>Cisco announced the End of Life for the PIX firewall...</small></li><li><a href='http://routernotes.com/2008/06/02/configure-policy-based-routing-with-route-map-statements/' rel='bookmark' title='Permanent Link: Configure Policy-based routing with Route-Map Statements'>Configure Policy-based routing with Route-Map Statements</a> <small>Route-maps allow to you deal with traffic on your router...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>With the URLfilter addon installed, an IPcop firewall can be turned into a free content-filtering web gateway perfect for a church, non-profit organization or home office. Access to inappropriate sites whether they be pornagraphic or just not work-related will be denied automatically at the firewall. Both IPcop and URLfilter are free to download and use.<br />
<br id="e-oh" /> <strong id="h7eb">Why IPcop?</strong><br id="fuau" /> <a id="zdu-" title="IPcop" href="http://www.ipcop.org/">IPcop</a> differs from most internet routers and firewalls because it has proxy software built-in. At first glance, a proxy server doesn&#8217;t do anything more than a standard router. Both will allow multiple computers inside the network to access websites on the internet, but a proxy servers looks at the actual web address in order to get a web page. For example, a standard router will recognize that a computer is visiting a website out on the internet whereas a proxy server understands that a computer is visiting www.MSN.com/music or www.msn.com/jobs. By looking at the full web address, IPcop can create internet access logs accurate down to the actual web page that was visited. IPcop and other free firewalls are compared in this <a id="ft6_" title="Free Firewalls" href="http://www.associatedcontent.com/article/521853/diy_build_a_businessclass_firewall.html">article</a>.<br id="mb73" /> Another handy trick that IPcop can do is proxy web traffic transparently. Most proxy servers require users to make configuration changes to Internet Explorer or Firefox to use them, but that is not the case with IPcop. Web traffic can be proxied, logged and filtered without any configuration at the workstation and most users will never know that their web traffic is being analyzed. If a network administrator is just interested in keeping a detailed web access log, then IPcop can do that <strong id="ftj0">by?</strong> default. <a id="fhfd" title="URL Filter" href="http://www.urlfilter.net/">URL Filter</a> adds the filtering capability.<br id="i_pr" /> <strong id="a9zj">Why URL filter?</strong><br id="klka" /> URL filter (Short for Universal Resource Locater Filter) just adds a module to IPcop that helps it make decisions on whether to process a computer request for a web page. It makes decisions two ways. It keeps a list of known unacceptable websites and blocks those and it keeps a list of bad words and blocks anything with one of those bad words in the name. URL filter can be configured to download new lists of bad words and sites automatically.<br />
<!-- START CUSTOM WIDGETBUCKS CODE -->
<div><script src="http://api.widgetbucks.com/script/ads.js?uid=gXgBCIxlU6zkk3aK"></script></div>
<p><!-- END CUSTOM WIDGETBUCKS CODE --></p>
<p><span id="more-53"></span><br id="f5gc" /> URL Filter requires IPcop be installed and running first. <strong id="zf4q">The IPcop website has very detailed instructions on </strong><a id="fn3g" title="IPcop installation and configuration" href="http://www.ipcop.org/1.4.0/en/install/html/"><strong id="nki7">installation and configuration</strong></a><strong id="hmsy">. The install process for IPcop only takes about 15 minutes and almost any old computer can be used because the system requirements are so low.  <em id="ky3g"> (Should be in above paragraph?)</em></strong><br id="y.w:" /> <strong id="c.eu">Installing URL filter<br id="b_x9" /> </strong>First, verify that SSH access is enabled on the IPcop firewall by going to the System Menu, selecting SSH access and enabling SSH access. Next, download the <a id="mm5j" title="URLfilter installer" href="http://www.urlfilter.net/download.html">URLfilter installer</a> to your computer and upload it to the IPcop firewall via SCP (secure copy). <a id="obhe" title="WinSCP" href="http://winscp.net/eng/docs/introduction">WinSCP</a> is a simple and free SCP utility to upload the file. Remember that IPcop uses port 222 for SSH rather than the standard 22.<br id="qh:1" /> Log into the IPcop with an SSH client like <a id="t4to" title="Putty" href="http://www.chiark.greenend.org.uk/%7Esgtatham/putty/">Putty</a> or log directly into the firewall at the keyboard. Use the root user id and password that was specified in the IPcop install process rather than the admin user that is used for the web administration page. Enter the following commands:<br id="o784" /> root@ipcop:~ #<strong id="i2re">tar -xvf ipcop-urlfilter-1.9.1.tar.gz</strong><br id="pe6t" /> root@ipcop:~ # <strong id="x9dx">cd ipcop-urlfilter</strong><br id="ga61" /> root@ipcop:~ # <strong id="cvms">./install<br id="wjek" /> </strong>The URL filter will scroll through the installation steps on the console and verify that installation was successful.<strong id="s6te"><br id="i4y2" /> </strong><strong id="m06.">Enable the web proxy</strong><br id="w:l_" /> After answering yes to the installer script, URLfilter should be installed and accessible through the web administration page, although it will not be actively filtering web access yet. First activate URLFilter by going to the Services menu, selecting Proxy server and checking the following options:<br id="dxbb" /> <strong id="d7q_">Enabled on </strong><span style="color: #000000;"><strong id="vjig">Green</strong></span><strong id="vzem">:</strong> This turns on the web proxy<br id="jqjy" /> <strong id="l9qq">Transparent on </strong><span style="color: #000000;"><strong id="lao2">Green</strong></span>: This silently redirects web traffic to be processed by the web proxy<br id="e21q" /> <strong id="e_5l">Log Enabled:</strong> Creates a log of all web usage, even what is not blocked.<br id="hkzj" /> <strong id="u8.b">Configure URL Filter</strong><br id="mh:v" /> Next, go to the URL filter administrative web page, by clicking on the <strong id="kwp:">Services</strong> Menu again and selecting <strong id="xd::">URL Filter. </strong>Remember, IPcop&#8217;s administration page is on port 445 (https://IpcopIPAddress:445.)<strong id="pnnz"> URL filter</strong> is highly configurable with many options, but its simple web filter is easy to setup. Simply click the block categories that you want blocked. URL Filter will come with a small block list by default that it out of date. To update the filter list, scroll down to <strong id="gh97">Automatic blacklist update </strong>and select how often the blacklist is updated and an update source. Weekly updates are fine for most applications. All four of the blacklist update sources in the dropdown menu are free. A commercial blacklist is available for a fee from <a id="lxrv" title="URLblacklist" href="http://www.urlblacklist.com/">URLblacklist</a>.<br id="zsji" /> Using larger blacklists like Shalia and University of Toulouse will increase the number of filter categories to choose from. After clicking update now, it can take up to two hours to download and prepare the blacklist for use, depending on your internet connection speed and how fast the firewall is. When the firewall is finished, it will display a last successful update message in the Automatic blacklist update section. The web administration page will probably time out before the list is finished.<br id="u_nq" /> <strong id="u39e"><br id="j0x8" /> Key Advanced Settings</strong><br id="gdah" /> After you have updated the blacklist and selected categories to block, there are a few options that most people want to add.<br id="twox" /> <strong id="hcv4"><em id="eun1">Under Block page settings</em></strong><br id="ji1j" /> <strong id="v:f7"> Show category on block page:</strong> When a page is blocked, this will show the user what web filter category had an entry that caused the site to be blocked. Useful for troubleshooting.<br id="g6sw" /> <strong id="vq43"> Show URL on block page:</strong> This will show the actual web address that triggered the web filter.<br id="dug5" style="font-style: italic; font-weight: bold" /> <strong id="hzd1"><em id="r31j">Under Advanced Settings</em></strong><br id="gy5q" /> <strong id="ridz">Block &#8220;ads&#8221; with empty window</strong>: If the ads category is selected, this will replaced the ad with a blank picture rather than the typical <strong id="ez35"><em id="l99:">(what?)</em></strong><br id="cwre" /> <strong id="qqmy">Enable SafeSearch:</strong> This feature forces the SafeSearch option <em id="yvp5"><strong id="xdki">(what is this option?)</strong></em> on web searches at Google, Yahoo and other search engines. Even if the user de-selects the option, it will not be passed to the search engine. Viewing cached content from a search engine is a simple way of bypassing web filters.<br id="aybu" /> <strong id="z4md">Enable expression lists</strong>: This allows URL filter to block content based on a list of bad words in addition to its list of known bad sites.<br id="qry_" /> <strong id="vjdi">Block sites accessed by an IP address</strong>: Almost no legitimate web sites are addressed by their IP address. This is another way of bypassing web filter and blocks users from typing something like http://10.105.4.5 into their web browser<br id="im65" /> <strong id="oi:h">Enable Log:</strong> This creates a record of all websites blocked by the filter and the IP address of the computer that requested the website.<br id="ws6r" /> After URL filter has been downloaded, has compiled a blacklist and has been configured with the desired options, web filtering can be enabled globally by checking the <strong id="l9k5">Enabled</strong> box under <strong id="ix50">URL filter </strong>at the bottom of the <strong id="bgfi">Proxy </strong>page under the <strong id="d_2e">Services </strong>menu.<br id="vtz9" /> A more detailed explanation of the URL filter settings are available at the <a id="jv:h" title="URL Filter FAQ" href="http://www.urlfilter.net/faq.html">URL filter FAQ</a>.<br id="r2.3" /> <strong id="gtqt">Tweaking URL Filter</strong><br id="mxc7" /> Anytime the web is filtered, it is possible to get false positives and have a website blocked that should not be. Most of the blacklists are not created by hand, they are created by robot programs that crawl the internet and record sites with objectionable material much like Yahoo or Google crawls the internet to create their search indexes. To remove a site or web address from blacklist, go back to the <strong id="gi17">URL filter</strong> web administration page under the <strong id="ath9">Services </strong>menu and add the site to the Custom Whitelist section. If you want to allow the entire website (www.mydomain.com), add the site to the allowed domains section. If you want to just allow access to a page (www.mydomain.com/myFavoritePage), then add the address to the allowed URL sections.<br id="ht3q" /> With URL filter and IPcop, your firewall will automatically block inappropriate websites and log all internet usage.</p>


<p>Related posts:<ol><li><a href='http://routernotes.com/2008/03/24/upgrade-to-an-open-source-firewall-an-overview-of-firewalls/' rel='bookmark' title='Permanent Link: Upgrade to an Open Source Firewall'>Upgrade to an Open Source Firewall</a> <small>Firewall companies have a little secret that they do not...</small></li><li><a href='http://routernotes.com/2008/02/08/cisco-sets-end-of-sale-for-pix-firewall/' rel='bookmark' title='Permanent Link: Cisco sets End of Sale for PIX Firewall'>Cisco sets End of Sale for PIX Firewall</a> <small>Cisco announced the End of Life for the PIX firewall...</small></li><li><a href='http://routernotes.com/2008/06/02/configure-policy-based-routing-with-route-map-statements/' rel='bookmark' title='Permanent Link: Configure Policy-based routing with Route-Map Statements'>Configure Policy-based routing with Route-Map Statements</a> <small>Route-maps allow to you deal with traffic on your router...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://routernotes.com/2008/04/14/create-a-web-filtering-firewall-with-ipcop-and-urfilter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Authentication in Cisco IOS</title>
		<link>http://routernotes.com/2008/02/11/authentication-in-cisco-ios/</link>
		<comments>http://routernotes.com/2008/02/11/authentication-in-cisco-ios/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 14:13:57 +0000</pubDate>
		<dc:creator>siteadmin</dc:creator>
				<category><![CDATA[Cisco Routers/Switches]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[IOS Fundamentals]]></category>
		<category><![CDATA[Authenticaton]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[Radius]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[TACACS+]]></category>

		<guid isPermaLink="false">http://routernotes.com/2008/02/11/authentication-in-cisco-ios/</guid>
		<description><![CDATA[Adding username and password authentication to Cisco routers and switches doesn&#8217;t take more than a few minutes, does not require a software upgrade in most cases, and will increase router and switch security.
Authentication can be passed to a central server so that users and passwords can be created and modified in one spot without having [...]


Related posts:<ol><li><a href='http://routernotes.com/2007/10/01/configuring-ssh-on-cisco-routersswitches-how-to/' rel='bookmark' title='Permanent Link: Configuring SSH on Cisco routers/switches (How-to)'>Configuring SSH on Cisco routers/switches (How-to)</a> <small>With all of the security problems out there today, it...</small></li><li><a href='http://routernotes.com/2007/11/29/showing-the-configuration-at-the-interface-level/' rel='bookmark' title='Permanent Link: Showing the configuration at the interface level'>Showing the configuration at the interface level</a> <small>One of the pains about Cisco is that once you...</small></li><li><a href='http://routernotes.com/2008/05/27/working-with-vlans-on-cisco-switches/' rel='bookmark' title='Permanent Link: Working with VLANS on Cisco Switches'>Working with VLANS on Cisco Switches</a> <small>Historically, creating multiple networks required multiple switches, but VLANs (Virtual...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Adding username and password authentication to Cisco routers and switches doesn&#8217;t take more than a few minutes, does not require a software upgrade in most cases, and will increase router and switch security.<br />
Authentication can be passed to a central server so that users and passwords can be created and modified in one spot without having to change the configuring on every router and switch in the company. Additionally, this type of authentication is needed to <a href="http://routernotes.com/2007/10/01/configuring-ssh-on-cisco-routersswitches-how-to/" title="SSH configuration How-to">configure Secure Shell</a> access to routers and switches, which encrypts administration traffic. Cisco supports username and password authentication on almost every device so a software upgrade is probably not needed before configuration. But Secure Shell requires a software upgrade in many cases.<br />
A nice example for configuring RADIUS authentication on routers and switches or passing authentication back to the company&#8217;s <a href="http://en.wikipedia.org/wiki/Active_Directory" id="o32j" title="Active Directory" target="_blank">Active Directory</a> can be found at <a href="http://articles.techrepublic.com.com/5100-1035-6182945.html" id="v-q7" title="Configuring RADIUS and Active Directory Authentication">TechRepublic</a>..<br />
In many cases, administrators just configure a telnet password for their network devices, which is the least secure way to permit access. Here is an example of the way those routers are configured.</p>
<p>RouterA#<strong>configure terminal</strong><br />
RouterA(config)# <strong>line vty 0 4</strong><br />
<em>A router&#8217;s telnet interface is called a vty, short for Virtual Teletype Terminal.</em><br />
RouterA(config)# <strong>password letmein</strong><br />
RouterA(config)# <strong>end</strong><br />
This will allow access to router via telnet by just the password <em>letmein</em>. Below is an example of configuring a router for username and password authentication from a local database stored on the router itself. If you have more than one router or switch, each router will need to be configured. Either way is more secure than just a password by itself. A more complex password increases security, so use passwords that are difficult to guess and create usernames that are not as simple to guess <em>like admin </em>or <em>cisco</em>..</p>
<p>RouterA#<strong>configure terminal</strong><br />
RouterA(config)# <strong>username Jane password Doe</strong><br />
RouterA(config)# <strong>username Bob password Smith</strong><br />
RouterA(config)# <strong>aaa new-model</strong><br />
RouterA(config)# <strong>aaa authentication login default local</strong><br />
RouterA(config)# <strong>end</strong><br />
<!-- START CUSTOM WIDGETBUCKS CODE -->
<div><script src="http://api.widgetbucks.com/script/ads.js?uid=jM8onWlI839Sq4Cw"></script></div>
<p><!-- END CUSTOM WIDGETBUCKS CODE --></p>
<p>The configuration creates the usernames <em>Jane </em>and <em>Bob </em>with the passwords <em>Doe </em>and <em>Smith </em>respectively. AAA stands for authentication, authorization and accounting. The line &#8216;<strong>aaa authentication login default local&#8217; </strong>specifies that local authentication should be used for login by default<strong>. </strong>The passwords will show up in the configuration just as you typed them and be readable by everyone that has access to the router configuration file unless the service password-encryption command is used. For example:</p>
<p>RouterA#<strong>configure terminal</strong><br />
RouterA(config)# <strong>service password-encryption</strong><br />
RouterA(config)# <strong>end</strong></p>
<p>Now your passwords will be encrypted in the configuration. There are tools available that can decrypt these passwords, so configurations should still be stored in a secure place.</p>
<p>Here is a look at configuring TACACS+ authentication, a centralized authentication protocol that passes authentication of to a server. In this example, the switch or router will first look to TACACS+ for authentication and then if that fails, it will look in the local user database. This will give you access if your network device loses network connectivity to the TACACS+ server. This example assumes there is a working TACACS+ server already running on your network. If not, notes on configuring a TACACS+ server on linux can be found <a href="http://www.debianhelp.co.uk/tacas.htm" id="tior" title="build a TACACS+ server in Debian">here.</a></p>
<p>RouterA#<strong>configure terminal </strong><br />
RouterA(config)# <strong>aaa new-model</strong><br />
RouterA(config)# <strong>aaa authentication login default group tacacs+ local</strong><br />
RouterA(config)# <strong>tacacs-server host 10.1.1.1</strong><br />
RouterA(config)# <strong>tacacs-server host 10.1.1.2</strong><br />
RouterA(config)# <strong>tacacs-server key SecretPassword</strong><br />
RouterA(config)# <strong>end</strong></p>
<p>If the switch or router has access to the authentication server, then the next time that you log in, the device should prompt you for a username rather than just a password. Complete details on <a href="http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_chapter09186a00804fdcec.html" id="y-76" title="configuring aaa access at cisco.com">configuring aaa access can be found on Cisco&#8217;s website</a>.</p>


<p>Related posts:<ol><li><a href='http://routernotes.com/2007/10/01/configuring-ssh-on-cisco-routersswitches-how-to/' rel='bookmark' title='Permanent Link: Configuring SSH on Cisco routers/switches (How-to)'>Configuring SSH on Cisco routers/switches (How-to)</a> <small>With all of the security problems out there today, it...</small></li><li><a href='http://routernotes.com/2007/11/29/showing-the-configuration-at-the-interface-level/' rel='bookmark' title='Permanent Link: Showing the configuration at the interface level'>Showing the configuration at the interface level</a> <small>One of the pains about Cisco is that once you...</small></li><li><a href='http://routernotes.com/2008/05/27/working-with-vlans-on-cisco-switches/' rel='bookmark' title='Permanent Link: Working with VLANS on Cisco Switches'>Working with VLANS on Cisco Switches</a> <small>Historically, creating multiple networks required multiple switches, but VLANs (Virtual...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://routernotes.com/2008/02/11/authentication-in-cisco-ios/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring SSH on Cisco routers/switches (How-to)</title>
		<link>http://routernotes.com/2007/10/01/configuring-ssh-on-cisco-routersswitches-how-to/</link>
		<comments>http://routernotes.com/2007/10/01/configuring-ssh-on-cisco-routersswitches-how-to/#comments</comments>
		<pubDate>Mon, 01 Oct 2007 18:24:33 +0000</pubDate>
		<dc:creator>siteadmin</dc:creator>
				<category><![CDATA[Cisco Routers/Switches]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[IOS Fundamentals]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[Secure Shell]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://routernotes.com/2007/10/01/configuring-ssh-on-cisco-routersswitches-how-to/</guid>
		<description><![CDATA[With all of the security problems out there today, it amazes me that most of the world&#8217;s network infrastructure is still be controlled by telnet. Telnet flies across the network unencrypted which is simple for sniffer or password grabbing program to gobble up your passwords. Even if you have a separate network to manage your [...]


Related posts:<ol><li><a href='http://routernotes.com/2008/02/11/authentication-in-cisco-ios/' rel='bookmark' title='Permanent Link: Authentication in Cisco IOS'>Authentication in Cisco IOS</a> <small>Adding username and password authentication to Cisco routers and switches...</small></li><li><a href='http://routernotes.com/2008/05/19/troubleshoot-cpu-spikes-on-cisco-switches-and-routers/' rel='bookmark' title='Permanent Link: Troubleshoot CPU spikes on Cisco switches and routers'>Troubleshoot CPU spikes on Cisco switches and routers</a> <small>CPU spikes on switches and routers can cause crazy problems...</small></li><li><a href='http://routernotes.com/2008/03/11/configuring-and-using-secondary-ip-addresses-on-cisco-routers/' rel='bookmark' title='Permanent Link: Configuring and Using Secondary IP Addresses on Cisco Routers'>Configuring and Using Secondary IP Addresses on Cisco Routers</a> <small>n a perfect world, every subnet would have its own...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>With all of the security problems out there today, it amazes me that most of the world&#8217;s network infrastructure is still be controlled by telnet. <a title="Telnet explantaion" href="http://en.wikipedia.org/wiki/Telnet" target="_blank">Telnet </a>flies across the network unencrypted which is simple for sniffer or password grabbing program to gobble up your passwords. Even if you have a separate network to manage your network equipment, the idea of sending your precious passwords in clear text is hard to justify. Newer Cisco equipment supports SSH for administration with any extra licenses or fees, so use it.<br />
What is SSH? Secure Shell (<a title="SSH Secure Shell" href="http://en.wikipedia.org/wiki/SSH" target="_blank">SSH)</a> has many great features, but the feature we will use today is SSH as an encrypted replacement for Telnet. You should not have to worry about losing your passwords to someone running a sniffer on the network.</p>
<p>I found several articles on Cisco&#8217;s site regarding SSH, so I wanted to boil it down and document what worked for me.</p>
<p>RouterA#<strong>conf t</strong></p>
<p>RouterA(config)#<strong>hostname RouterA</strong></p>
<p>RouterA(config)#<strong>ip domain-name routernotes.com</strong></p>
<p><em>Encryption keys are identified by DNS name </em></p>
<p>RouterA(config)#<strong>crypto key generate rsa</strong></p>
<p><em>&lt;output abbreviated&gt;</em></p>
<p>How many bits in the modulus [512] <strong>1024</strong></p>
<p><em>Choose 1024 because most clients will balk at anything less</em></p>
<p>RouterA(config)#<strong>ip ssh time-out 120</strong></p>
<p><em>This command limits your authentication time to 120 seconds. You should be able to lookup/remember your password in two minutes.</em></p>
<p>RouterA(config)#<strong>ip ssh authentication-retries 4</strong></p>
<p><em>This limits the number of failed connection tries </em></p>
<p>RouterA(config)#<strong>service tcp-keepalives-in</strong><br />
RouterA(config)#<strong>service tcp-keepalives-out</strong></p>
<p><em>This keeps your SSH sessions from getting hung </em></p>
<p>RouterA(config)#<strong>line vty 0 4</strong><br />
RouterA(config-line)# <strong>transport input SSH</strong></p>
<p><em>This limits incoming administration access to SSH only </em><!--adsense--></p>


<p>Related posts:<ol><li><a href='http://routernotes.com/2008/02/11/authentication-in-cisco-ios/' rel='bookmark' title='Permanent Link: Authentication in Cisco IOS'>Authentication in Cisco IOS</a> <small>Adding username and password authentication to Cisco routers and switches...</small></li><li><a href='http://routernotes.com/2008/05/19/troubleshoot-cpu-spikes-on-cisco-switches-and-routers/' rel='bookmark' title='Permanent Link: Troubleshoot CPU spikes on Cisco switches and routers'>Troubleshoot CPU spikes on Cisco switches and routers</a> <small>CPU spikes on switches and routers can cause crazy problems...</small></li><li><a href='http://routernotes.com/2008/03/11/configuring-and-using-secondary-ip-addresses-on-cisco-routers/' rel='bookmark' title='Permanent Link: Configuring and Using Secondary IP Addresses on Cisco Routers'>Configuring and Using Secondary IP Addresses on Cisco Routers</a> <small>n a perfect world, every subnet would have its own...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://routernotes.com/2007/10/01/configuring-ssh-on-cisco-routersswitches-how-to/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
