How to send connection type (SSH|Telnet) info in Radius Access Requests on Cisco router?

Posted by Gianni Costanzi on Server Fault See other posts from Server Fault or by Gianni Costanzi
Published on 2012-06-01T09:39:49Z Indexed on 2012/06/01 10:43 UTC
Read the original article Hit count: 315

Filed under:
|
|
|
|

I've configured the following on a cisco router:

aaa authentication login default group radius local 
!
radius-server host x.x.x.x auth-port 1012 acct-port 1013
radius-server host y.y.y.y auth-port 1012 acct-port 1013
radius-server retransmit 1
radius-server timeout 3
radius-server key 7 xxxxxxxxx

I'd like to be able to specify some radius options in order to add information about the type of connection for which a user is being authenticated, i.e. I'd like the radius server to receive in the Cisco Router's Radius Access Request information about the connection being SSH or Telnet.. I'd like to find something that automatically adds this info in the access request, without specific configurations on VTY lines dedicated to SSH and to Telnet.

Any idea about that?

© Server Fault or respective owner

Related posts about cisco

Related posts about authentication