How to send connection type (SSH|Telnet) info in Radius Access Requests on Cisco router?
- by Gianni Costanzi
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?