08-02-2021 01:58 AM
Hi,
After upgrading WS-C2960L-SM-48PS to IOS c2960l-universalk9-mz.152-7.E4, it is impossible to connect using SSH.
Error is kex_exchange_identification: Connection closed by remote host
SSH is disabled in configuration and this parameter seems not modifiable with CLI or WEB acces.
Editing configuration file with a text editor is a good solution.
Modifying line VTY 0 4 as below solves this problem.
line vty 0 4 privilege level 15 login local transport input ssh
Copy this file as startup-config to make it permanent.
Solved! Go to Solution.
08-02-2021 05:41 AM
Hi Marce1000,
Thanks for your purpose, but it doesn't give additionnal information.
Diagnostic is possible displaying the running-config using WEB interface.
Line transport input none was added for line sections during upgrade, disabling all logins.
Modifying it in transport input ssh, enable only ssh (secure shell only).
Difficulty is to modify this parameter from WEB or reduced "smart" CLI. I didn't find any solution other than editing configuration file.
Luc.
08-02-2021 02:23 AM
- Enable debug and or verbose mode on your ssh-client, you may get additional info's. Strong clients for debug/verbose capabilities are putty or native linux ssh-client.
M.
08-02-2021 05:41 AM
Hi Marce1000,
Thanks for your purpose, but it doesn't give additionnal information.
Diagnostic is possible displaying the running-config using WEB interface.
Line transport input none was added for line sections during upgrade, disabling all logins.
Modifying it in transport input ssh, enable only ssh (secure shell only).
Difficulty is to modify this parameter from WEB or reduced "smart" CLI. I didn't find any solution other than editing configuration file.
Luc.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide