Publication Date: 2018-11-29 | Views: 842 | Downloads: 0 | Author: a84103535 | Document ID: EKB1002019528
The problem is with a switch Quidway S2700-9TP-PWR-EI that can not set ssh access. The configuration is identical to other devices on which it normally works. When trying to access it displays the error "Connection closed by ssh server server".
Checked the configuration of SSH on the S2700 series swtich:
stelnet server enable
ssh user <user name>
ssh user <user name> authentication-type password
ssh user <user name> service-type stelnet
local-user <user name> password cipher <password>
local-user <user name> priviledge level <level>
local-user <user name> service-type stelnet
The SSH was not working but the configuration is ok.
After debugging the SSH server, we found the following message:
The RSA key is not created on the server. Although the confirguration is to use password for authentication, for this model of switch, you need to create the local key too.
As suggested solution, please configure the following commands in order to make the SSH work:
[R6_U26_S2700]ssh server compatible-ssh1x enable
[R6_U26_S2700]RSA local-key-pair create
You can input the key modulus size for 1024 (it is mandatory to be between 512 and 2048).
Please try to connect SSH after this and check the results.