cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1678
Views
20
Helpful
9
Replies

Set SSH/TELNET max sessions connections - ISE 2.7

croonos23
Level 1
Level 1

Hi cisco community, I have tested this feature "Max Sessions" I have understood that this option limits the ssh or telnet connection per user, however I have created a python script using netmiko and have seen more sessions successfully established. 

Could you explain this feature? I want to block ssh/telnet max sessions per user and set limit.

ISE: 2.7

croonos23_0-1666208010626.png

 

2 Accepted Solutions

Accepted Solutions

Thanks for your support, I found a bug in my version (ISE 2.7 patch 2), I will install upgrade and tell you later.

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvv14390

View solution in original post

9 Replies 9

Thanks ahollifield,  I want to block ssh/telnet sessions per user when a limit set by me is reached. Can I do this from the ISE server?

So do you mean for TACACS+ authentications to network devices (switch, router, etc.) or for SSH to ISE itself?   

TACACS+ authentications to network devices on network devices, I want to set a limit for ssh or telnet connections to the devices.

croonos23_0-1666210284258.png

 

This should work for TACACS+ but I've never personally tested it.  What is the authentication source? AD? Local? Something else?  This also requires Accounting to be properly configured so ISE can monitor the active sessions accurately.  

https://www.cisco.com/c/en/us/support/docs/security/identity-services-engine-22/204463-Configure-Maximum-Concurrent-User-Sessio.html#anc14

I am using Local authentication source, but i changed value and it don't block sessions

Do you have TACACS+ accounting configured? 

Thanks for your support, I found a bug in my version (ISE 2.7 patch 2), I will install upgrade and tell you later.

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvv14390

Hi @croonos23 ,

 I would like to add just one thing ... please take a look at: Configure Maximum Concurrent User Sessions on ISE 2.2, special attention to:

" ... Enforcement and count of a Concurrent Session is unique and managed by each PSN. There is no synchronization between the PSNs in terms of session count. Concurrent Session feature is implemented in the runtime process and data is stored only in memory. In case of PSN restart, MaxSessions counters reset... "

Hope this helps !!!