cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2117
Views
0
Helpful
5
Replies

SSH session getting disconnected after an hour on cisco C3650 Switch

jaynalge1
Level 1
Level 1

Hi - I am copying IOS file of 439MB from our Data center jump server to Remote site Switch using FTP but after an hour SSH session of the switch is getting closed automatically. 

 

I have also changed the line vty session timeout and exec-timeout to never expire but still I am facing the same issue. below are some output. Can anyone please help me to get 

 

===================================================

C3650Switch#sh users
Line User Host(s) Idle Location
2 vty 0 admin idle 00:42:10 10.154.2.130

Interface User Mode Idle Peer Address

 

-------------------------------------------------------------------------------

line con 0
session-timeout 15
exec-timeout 15 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
access-class VTY_IN in
exec-timeout 0 0
logging synchronous
transport input ssh
line vty 5 15
access-class VTY_IN in
exec-timeout 0 0
logging synchronous
transport input ssh

--------------------------------------------------------------

C3650Switch#sh terminal
Line 3, Location: "", Type: "xterm"
Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 9600/9600
Status: PSI Enabled, Ready, Active, No Exit Banner, Automore On
Notify Process
Capabilities: none
Modem state: Ready
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: 00:00:17
Editing is enabled.
History is enabled, history size is 20.
DNS resolution in show commands is enabled
Full user help is disabled
Allowed input transports are ssh.
Allowed output transports are telnet ssh.
Preferred transport is telnet.
Shell: disabled
Shell trace: off
No output characters are padded
No special data dispatching characters

5 Replies 5

marce1000
Hall of Fame
Hall of Fame

 

 - Why does it need to take that long and or why is the transfer speed so slow ?

  M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

This is because of high bandwidth utilization at DC site but I am looking for to increase the SSH session timeout period on the cisco switch. I have configured line vty session-timeout and exec-timeout but its not work.

Why not just do and no exec-timeout on line vty 0-15 on the switch and them when you verify the file was copied just simply disconnect form the switch.

Yes, I tried no exec-timeout but still session getting disconnect after an hour. Even I changed putty setting and enable the keepalive setting but this also not help me here.

could it be your FTP server configuration. What are you using for your FTP Server ? Also on the FTP Server verify you have permission to download files, verify username and password configuration on the switch and on the server. then Go to your PC and go to cmd ( command promp ) and type ftp ( ftp server ip address) then enter the username and password for the switch you're having problem, it will let you know if you have access.