Questions:
How to configure he First Successful Login to Another Device (Allocating an Public Key to the SSH Server) on Huawei Quidway S5700 Huawei Switch Price?
Answer:
Run:system-view,The system view is displayed.
Run:rsa peer-public-key key-name or dsa peer-public-key key-name encoding-type { der | pem },The public key view is displayed.
Run:public-key-code begin,The public key editing view is displayed.
Run:hex-data,The public key is edited.
Run:public-key-code end,Quit the public key editing view.
Run:lpeer-public-key end,Return to the system view from the public key view.
Run:ssh client servername assign { rsa-key | dsa-key } keyname,The RSA or DSA public key is assigned to the SSH server
NOTE:
If the RSA public key stored on the SSH client becomes invalid, run the undo ssh client servername assign { rsa-key | dsa-key } command to cancel the association between the SSH client and the SSH server. Then, run the ssh client servername assign { rsa-key | dsa-key } keyname command to allocate a new RSA or DSA public key to the SSH server.
The RSA or DSA public key assigned to the SSH server must be generated on the server. Otherwise, the validity check for the RSA or DSA public key on the STelnet client will fail.
After entering the public key edit view, paste the RSA or DSA public key generated on the server to the switch that functions as the client.
For more Huawei Switch news about Price ans Specification, you can click here. Huawei s9700
