CLI Reference SSH Configuration Commands
Use this command to associate public-key files with user names on the client. The client can use the
user name to specify a public-key file when logs in for authentication.
ip ssh peer username public-key { rsa | dsa } filename
no ipssh peer username public-key { rsa | dsa } filename
Global configuration mode.
The following example sets the associated RSA and DSA public-key files of User Test.
Ruijie# configure terminal
Ruijie(config)# ipssh peer test public-key rsaflash:rsa.pub
Ruijie(config)# ipssh peer test public-key dsaflash:dsa.pub
Show the current status of the SSH Server.
Use this command to set the authentication timeout for the SSH Server. Use the no form of this
command to restore the default setting.
Authentication timeout, in range of 1 to 120s.