Article Options
- Article History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Email to a Friend
- Printer Friendly Page
- Alert a Moderator
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Alert a Moderator
Concurrent SSH sessions and how to kill one or more SSH sessions.
Q:
A:
How many concurrent SSH sessions are supported and how to Kill a particular SSH session?
A:
Aruba HPE Switch allows 5 concurrent SSH sessions. Executing "show ip ssh" will show the list of active SSH session and using Kill command, user can kill any SSH session as needed.
- Below example shows 5 active SSH sessions,
Sunill-3810M(config)# show ip ssh SSH Enabled : Yes Secure Copy Enabled : No TCP Port Number : 22 Timeout (sec) : 120 Rekey Enabled : No Rekey Time (min) : 60 Rekey Volume (KB) : 1048576 Host Key Type : RSA Host Key/Curve Size : 2048 Ciphers : aes256-ctr,aes256-cbc,rijndael-cbc@lysator.liu.se,aes192-ctr, aes192-cbc,aes128-ctr,aes128-cbc,3des-cbc MACs : hmac-sha1-96,hmac-md5,hmac-sha1,hmac-md5-96 Ses Type | Source IP Port --- -------- + ---------------------------------------------- ----- 1 console | 2 ssh | 15.110.204.11 63776 3 ssh | 15.110.204.11 58187 4 ssh | 15.110.204.11 58194 5 ssh | 15.110.204.11 58201 6 ssh | 15.110.204.11 58209 7 inactive |
- To kill any one or more, executing Kill <ssh session ID> will kill that particular session.
- In the below example, session 6 was killed.
Sunill-3810M# kill 6 Sunill-3810M#
Sunill-3810M# show ip ssh SSH Enabled : Yes Secure Copy Enabled : No TCP Port Number : 22 Timeout (sec) : 120 Rekey Enabled : No Rekey Time (min) : 60 Rekey Volume (KB) : 1048576 Host Key Type : RSA Host Key/Curve Size : 2048 Ciphers : aes256-ctr,aes256-cbc,rijndael-cbc@lysator.liu.se,aes192-ctr, aes192-cbc,aes128-ctr,aes128-cbc,3des-cbc MACs : hmac-sha1-96,hmac-md5,hmac-sha1,hmac-md5-96 Ses Type | Source IP Port --- -------- + ---------------------------------------------- ----- 1 console | 2 ssh | 15.110.204.11 63776 3 ssh | 15.110.204.11 58187 4 ssh | 15.110.204.11 58194 5 ssh | 15.110.204.11 58201 6 inactive | 7 inactive |
Version history