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.
debugging the SSH server, we found the following message:
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.
suggested solution, please configure the following commands in order to make
the SSH work:
server compatible-ssh1x enable
can input the key modulus size for 1024 (it is mandatory to be between 512 and
try to connect SSH after this and check the results.