cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3126
Views
20
Helpful
15
Replies

Disable SSH time-out not working

sSiDs
Level 1
Level 1

Hi team!

I am managing C9300 through MGMT int g0/0

i have tried different settings to prevent ssh disconnect, but anyhow...it happens

any ideas?) may be i have misschecked elsewhere something?

000291: Jan 13 19:01:51 MSK: %SYS-6-LOGOUT: User sid has exited tty session 0()
000292: Jan 14 07:40:15 MSK: %SSH-5-SSH2_SESSION: SSH2 Session request from 192.168.200.200 (tty = 0) using crypto cipher 'aes256-cbc', hmac 'hmac-sha1' Succeeded
000293: Jan 14 07:40:15 MSK: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: sid] [Source: 192.168.200.200] [localport: 22] at 07:40:15 MSK Thu Jan 14 2021
000294: Jan 14 07:40:15 MSK: %SSH-5-SSH2_USERAUTH: User 'sid' authentication for SSH2 Session from 192.168.200.200 (tty = 0) using crypto cipher 'aes256-cbc', hmac 'hmac-sha1' Succeeded
000295: Jan 14 07:50:17 MSK: %SYS-6-TTY_EXPIRE_TIMER: (exec timer expired, tty 1 (192.168.200.200)), user sid
000296: Jan 14 07:50:17 MSK: %SYS-6-LOGOUT: User sid has exited tty session 1(192.168.200.200)
000297: Jan 14 07:50:17 MSK: %SSH-5-SSH2_CLOSE: SSH2 Session from 192.168.200.200 (tty = 0) for user 'sid' using crypto cipher 'aes256-cbc', hmac 'hmac-sha1' closed
000298: Jan 14 08:54:29 MSK: %SSH-5-SSH2_SESSION: SSH2 Session request from 192.168.200.200 (tty = 0) using crypto cipher 'aes256-cbc', hmac 'hmac-sha1' Succeeded
000299: Jan 14 08:54:29 MSK: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: sid] [Source: 192.168.200.200] [localport: 22] at 08:54:29 MSK Thu Jan 14 2021
000300: Jan 14 08:54:29 MSK: %SSH-5-SSH2_USERAUTH: User 'sid' authentication for SSH2 Session from 192.168.200.200 (tty = 0) using crypto cipher 'aes256-cbc', hmac 'hmac-sha1' Succeeded
000301: Jan 14 08:54:45 MSK: %PARSER-5-CFGLOG_LOGGEDCMD: User:sid  logged command:system mtu 9198
000302: Jan 14 08:54:58 MSK: %SYS-5-CONFIG_I: Configured from console by sid on vty0 (192.168.200.200)
000303: Jan 14 09:05:22 MSK: %SYS-6-TTY_EXPIRE_TIMER: (exec timer expired, tty 1 (192.168.200.200)), user sid
000304: Jan 14 09:05:22 MSK: %SYS-6-LOGOUT: User sid has exited tty session 1(192.168.200.200)
000305: Jan 14 09:05:22 MSK: %SSH-5-SSH2_CLOSE: SSH2 Session from 192.168.200.200 (tty = 0) for user 'sid' using crypto cipher 'aes256-cbc', hmac 'hmac-sha1' closed
000306: Jan 14 09:08:36 MSK: %SSH-5-SSH2_SESSION: SSH2 Session request from 192.168.200.200 (tty = 0) using crypto cipher 'aes256-cbc', hmac 'hmac-sha1' Succeeded
000307: Jan 14 09:08:36 MSK: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: sid] [Source: 192.168.200.200] [localport: 22] at 09:08:36 MSK Thu Jan 14 2021
000308: Jan 14 09:08:36 MSK: %SSH-5-SSH2_USERAUTH: User 'sid' authentication for SSH2 Session from 192.168.200.200 (tty = 0) using crypto cipher 'aes256-cbc', hmac 'hmac-sha1' Succeeded
000309: Jan 14 09:19:01 MSK: %SYS-6-TTY_EXPIRE_TIMER: (exec timer expired, tty 1 (192.168.200.200)), user sid
000310: Jan 14 09:19:01 MSK: %SYS-6-LOGOUT: User sid has exited tty session 1(192.168.200.200)
000311: Jan 14 09:19:01 MSK: %SSH-5-SSH2_CLOSE: SSH2 Session from 192.168.200.200 (tty = 0) for user 'sid' using crypto cipher 'aes256-cbc', hmac 'hmac-sha1' closed
000312: Jan 14 09:37:02 MSK: %SSH-5-SSH2_SESSION: SSH2 Session request from 192.168.200.200 (tty = 0) using crypto cipher 'aes256-cbc', hmac 'hmac-sha1' Succeeded
000313: Jan 14 09:37:02 MSK: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: sid] [Source: 192.168.200.200] [localport: 22] at 09:37:02 MSK Thu Jan 14 2021
000314: Jan 14 09:37:02 MSK: %SSH-5-SSH2_USERAUTH: User 'sid' authentication for SSH2 Session from 192.168.200.200 (tty = 0) using crypto cipher 'aes256-cbc', hmac 'hmac-sha1' Succeeded
000315: Jan 14 09:37:18 MSK: %PARSER-5-CFGLOG_LOGGEDCMD: User:sid  logged command:line vty 5 15
000316: Jan 14 09:37:24 MSK: %PARSER-5-CFGLOG_LOGGEDCMD: User:sid  logged command:exec-timeout 0
000317: Jan 14 09:37:34 MSK: %PARSER-5-CFGLOG_LOGGEDCMD: User:sid  logged command:session-timeout 0
000318: Jan 14 09:37:37 MSK: %SYS-5-CONFIG_I: Configured from console by sid on vty0 (192.168.200.200)
000319: Jan 14 09:38:46 MSK: %PARSER-5-CFGLOG_LOGGEDCMD: User:sid  logged command:line vty 5 15
000320: Jan 14 09:38:49 MSK: %PARSER-5-CFGLOG_LOGGEDCMD: User:sid  logged command:logging synchronous 
000321: Jan 14 09:41:41 MSK: %SYS-5-CONFIG_I: Configured from console by sid on vty0 (192.168.200.200)
000322: Jan 14 09:51:43 MSK: %SYS-6-TTY_EXPIRE_TIMER: (exec timer expired, tty 1 (192.168.200.200)), user sid
000323: Jan 14 09:51:43 MSK: %SYS-6-LOGOUT: User sid has exited tty session 1(192.168.200.200)
000324: Jan 14 09:51:43 MSK: %SSH-5-SSH2_CLOSE: SSH2 Session from 192.168.200.200 (tty = 0) for user 'sid' using crypto cipher 'aes256-cbc', hmac 'hmac-sha1' closed
000325: Jan 14 09:55:51 MSK: %SSH-5-SSH2_SESSION: SSH2 Session request from 192.168.200.200 (tty = 0) using crypto cipher 'aes256-cbc', hmac 'hmac-sha1' Succeeded
000326: Jan 14 09:55:51 MSK: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Success [user: sid] [Source: 192.168.200.200] [localport: 22] at 09:55:51 MSK Thu Jan 14 2021
000327: Jan 14 09:55:51 MSK: %SSH-5-SSH2_USERAUTH: User 'sid' authentication for SSH2 Session from 192.168.200.200 (tty = 0) using crypto cipher 'aes256-cbc', hmac 'hmac-sha1' Succeeded
MSK-CORE-C9300# 
MSK-CORE-C9300#
MSK-CORE-C9300#
MSK-CORE-C9300#
MSK-CORE-C9300#sh run | i ssh
ip ssh authentication-retries 5
ip ssh logging events
ip ssh version 2
ip ssh stricthostkeycheck
ip ssh rekey time 120
ip ssh rekey volume 1000000
ip ssh server algorithm mac hmac-sha1 hmac-sha1-96
ip ssh server algorithm encryption aes128-cbc aes256-cbc
 transport preferred ssh
 transport input ssh
 transport output ssh
MSK-CORE-C9300#sh run | s line
line con 0
 session-timeout 120  output
 exec-timeout 120 35
 logging synchronous
 exec prompt timestamp
 stopbits 1
line vty 5 15
 exec-timeout 0 0
 logging synchronous
 exec prompt timestamp
 transport preferred ssh
 transport input ssh
 transport output ssh
MSK-CORE-C9300#
SK-CORE-C9300#sh line vty 5
   Tty Typ     Tx/Rx    A Modem  Roty AccO AccI   Uses   Noise  Overruns   Int
      6 VTY              -    -      -    -    -      0       0     0/0       -

Line 6, Location: "", Type: ""
Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 9600/9600
Status: No Exit Banner
Capabilities: Timestamp Enabled
Modem state: Idle
Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation
                ^^x    none   -     -       none         
Timeouts:      Idle EXEC    Idle Session   Modem Answer  Session   Dispatch
                never         never                        none     not set
                            Idle Session Disconnect Warning
                              never 
                            Login-sequence User Response
                             00:00:30
                            Autoselect Initial Wait
                              not set 
Modem type is unknown.
Session limit is not set.
Time since activation: never
Editing is enabled.
History is enabled, history size is 10.
DNS resolution in show commands is enabled
Full user help is disabled
Allowed input transports are ssh.
Allowed output transports are ssh.
Preferred transport is ssh.
Shell: enabled
Shell trace: off
No output characters are padded
No special data dispatching characters
MSK-CORE-C9300#sh line co   
MSK-CORE-C9300#sh line console 0
   Tty Typ     Tx/Rx    A Modem  Roty AccO AccI   Uses   Noise  Overruns   Int
      0 CTY              -    -      -    -    -      0       0     0/0       -

Line 0, Location: "", Type: ""
Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 9600/9600, no parity, 1 stopbits, 8 databits
Status: Ready
Capabilities: Output non-idle, Timestamp Enabled
Modem state: Ready
Switch 1: RJ45 Console is in use
Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation
                ^^x    none   -     -       none         
Timeouts:      Idle EXEC    Idle Session   Modem Answer  Session   Dispatch
               02:00:35       02:00:00                       none     not set
Session idle time reset by output.
                            Idle Session Disconnect Warning
                              never 
                            Login-sequence User Response
                             00:00:30
                            Autoselect Initial Wait
                              not set 
Modem type is unknown.
Session limit is not set.
Time since activation: never
Editing is enabled.
History is enabled, history size is 10.
DNS resolution in show commands is enabled
Full user help is disabled
Allowed input transports are none.
Allowed output transports are telnet ssh.
Preferred transport is telnet.
Shell: enabled
Shell trace: off
No output characters are padded
No special data dispatching characters
MSK-CORE-C9300#
MSK-CORE-C9300#
MSK-CORE-C9300#who
    Line       User       Host(s)              Idle       Location
*  1 vty 0     sid        idle                 00:00:00 192.168.200.200

  Interface    User               Mode         Idle     Peer Address
15 Replies 15

sSiDs
Level 1
Level 1

no.

i completely remove all users, aaa, ip ssh key and etc and configured from the scratch.

no disconnects for now....

my be some BUG....

Review Cisco Networking for a $25 gift card