I try to connect to a Cisco 9300 switch from my Windows 10 laptop running WSL2 with Ubuntu 22.04. It can reach the switch and after enter the credential, it connected, then disconnected with the error below shown from the Cisco switch console:
%SSH-5-SSH2_CLOSE: SSH2 Session from 10.100.100.19 (tty = 0) for user 'cisco' using crypto cipher 'chacha20-poly1305@openssh.com', hmac 'hmac-sha2-256-etm@openssh.com'
I google the error and found it could relate to the bug for openssh
:
https://linux.oracle.com/cve/CVE-2023-48795.html
https://github.com/oracle/oracle-linux/issues/125
The openssh
version on the WSL is OpenSSH_8.9p1 Ubuntu-3ubuntu0.10, OpenSSL 3.0.2 15 Mar 2022
I used sudo apt upgrade openssh-client
to upgrade it, but I get this:
sudo apt upgrade openssh-clientReading package lists... DoneBuilding dependency tree... DoneReading state information... Doneopenssh-client is already the newest version (1:8.9p1-3ubuntu0.10).Calculating upgrade... Done0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Not like the output from this thread:openssh-client/openssh-server show different version than ssh -V
I am not sure if the openssh
is upgraded or not.
Any advice on this?