<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: AAA login problems using ssh in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/aaa-login-problems-using-ssh/m-p/941834#M419567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The additional information is quite helpful. In particular your explanation of the error is different here. In the original post you indicated that it was an authentication error. But in this post you indicate that it is an authorization error - which is quite different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One additional question will really help us get to an understanding of this issue. When you are successful in logging in on the console (and when you attempt to SSH to the VTY) are you really authenticating with the Radius server or are you doing local authentication? (assuming that you may have set up the same user ID as a local name as what is configured in Radius I would suggest giving the local name a different password than the Radius password. this way it will be clear what is doing the authenticating).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen the same error with a configuration that was very similar when the server was not authenticating. It would do local authentication and then would fail on the authorization. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that in this situation the console will succeed and the vty will fail because by default Cisco does not do authorization on the console and does do authorization on the vty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case I fixed the issue by changing the authorization slightly. I would suggest that instead of this:&lt;/P&gt;&lt;P&gt;aaa authorization exec default group radius group tssi-infb.tssiapps.sed none &lt;/P&gt;&lt;P&gt;that you configure this:&lt;/P&gt;&lt;P&gt;aaa authorization exec default group radius group tssi-infb.tssiapps.sed if-authenticated &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 May 2008 18:58:40 GMT</pubDate>
    <dc:creator>Richard Burts</dc:creator>
    <dc:date>2008-05-16T18:58:40Z</dc:date>
    <item>
      <title>AAA login problems using ssh</title>
      <link>https://community.cisco.com/t5/network-access-control/aaa-login-problems-using-ssh/m-p/941830#M419563</link>
      <description>&lt;P&gt;I'm having difficulty logging in to a Catalyst4948 Switch via putty with RADIUS authentication.  The VTY and console lines are set for transport in ssh.  I can login via the console port and authenticate with the RADIUS server.  I get an authentication failed when using putty through the VTY ports&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 22:48:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/aaa-login-problems-using-ssh/m-p/941830#M419563</guid>
      <dc:creator>Sw33tpea1</dc:creator>
      <dc:date>2019-03-10T22:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: AAA login problems using ssh</title>
      <link>https://community.cisco.com/t5/network-access-control/aaa-login-problems-using-ssh/m-p/941831#M419564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check for any VTY passwords set in the switch.As you get authentication failed message the issue might be with the keys used for authentication.If the keys mismatch then authentication fails.Also check for VTY line setup with SSH.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 12:55:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/aaa-login-problems-using-ssh/m-p/941831#M419564</guid>
      <dc:creator>smahbub</dc:creator>
      <dc:date>2008-05-05T12:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: AAA login problems using ssh</title>
      <link>https://community.cisco.com/t5/network-access-control/aaa-login-problems-using-ssh/m-p/941832#M419565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The console port is for hardwired connections and as far as I know does not support SSH connection. At least on the switches I checked you can specify an output transport protocol but not an inbound transport (I do not have a 4948 to test on however). So I am not sure the fact that the console authenticates really tells us that SSH is ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible that the switch is configured for SSHv1 and that your putty is configured for SSHv2? There were quite a few versions of IOS that supported SSHv1 but not SSHv2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would help if you would post the configuration (at least the authentication parts, the SSH config, and the console and vty config).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might help us figure out what is the problem is you would run debug ip ssh, make an effort to connect to the vty, and post the debug output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shumon &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it were a key mismatch how would the console be authenticating?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2008 15:54:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/aaa-login-problems-using-ssh/m-p/941832#M419565</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2008-05-05T15:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: AAA login problems using ssh</title>
      <link>https://community.cisco.com/t5/network-access-control/aaa-login-problems-using-ssh/m-p/941833#M419566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's my configuration.  When I go through the console port I authenticate to the RADIUS server.  However, when I try using SSH through the VTY ports I get an authorization failed message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aaa new-model&lt;/P&gt;&lt;P&gt;aaa group server radius tssi-infb.tssiapps.sed&lt;/P&gt;&lt;P&gt; server 10.100.10.45 auth-port 1645 acct-port 1646&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aaa authentication login default group radius group tssi-infb.tssiapps.sed local enable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aaa authentication login aaa-fallback group radius group  radius group tssi-infb.tssiapps.sed local&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aaa authorization exec default group radius group tssi-infb.tssiapps.sed none&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ip ssh version 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;radius-server host 10.100.10.45 auth-port 1645 acct-port 1646&lt;/P&gt;&lt;P&gt;radius-server key XXXXXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;line con 0 &lt;/P&gt;&lt;P&gt;password xxxxxx&lt;/P&gt;&lt;P&gt;login authentication aaa-fallback&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;line vty 0 4&lt;/P&gt;&lt;P&gt;login authentication aaa-fallback&lt;/P&gt;&lt;P&gt;transport input ssh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2008 14:11:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/aaa-login-problems-using-ssh/m-p/941833#M419566</guid>
      <dc:creator>Sw33tpea1</dc:creator>
      <dc:date>2008-05-16T14:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: AAA login problems using ssh</title>
      <link>https://community.cisco.com/t5/network-access-control/aaa-login-problems-using-ssh/m-p/941834#M419567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The additional information is quite helpful. In particular your explanation of the error is different here. In the original post you indicated that it was an authentication error. But in this post you indicate that it is an authorization error - which is quite different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One additional question will really help us get to an understanding of this issue. When you are successful in logging in on the console (and when you attempt to SSH to the VTY) are you really authenticating with the Radius server or are you doing local authentication? (assuming that you may have set up the same user ID as a local name as what is configured in Radius I would suggest giving the local name a different password than the Radius password. this way it will be clear what is doing the authenticating).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen the same error with a configuration that was very similar when the server was not authenticating. It would do local authentication and then would fail on the authorization. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that in this situation the console will succeed and the vty will fail because by default Cisco does not do authorization on the console and does do authorization on the vty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case I fixed the issue by changing the authorization slightly. I would suggest that instead of this:&lt;/P&gt;&lt;P&gt;aaa authorization exec default group radius group tssi-infb.tssiapps.sed none &lt;/P&gt;&lt;P&gt;that you configure this:&lt;/P&gt;&lt;P&gt;aaa authorization exec default group radius group tssi-infb.tssiapps.sed if-authenticated &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2008 18:58:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/aaa-login-problems-using-ssh/m-p/941834#M419567</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2008-05-16T18:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: AAA login problems using ssh</title>
      <link>https://community.cisco.com/t5/network-access-control/aaa-login-problems-using-ssh/m-p/941835#M419568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for the response.  To answer your question, I do have a different username and password setup for the local than what is on the Radius.  When looking at the Radius log it shows where the authorization is granted.  I ran debug as well and can see the authorization mesages for the console and see the fail messages for the vty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try the command you suggested and see if that fixes the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 11:16:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/aaa-login-problems-using-ssh/m-p/941835#M419568</guid>
      <dc:creator>Sw33tpea1</dc:creator>
      <dc:date>2008-05-19T11:16:28Z</dc:date>
    </item>
  </channel>
</rss>

