ssh: Supports only SSH.
Description
Use the protocol inbound command to configure specific user interface(s) to support specified
protocol(s). The configuration will take effect at next user login.
By default, both SSH and Telnet are supported.
As SSH clients access the SSH server through VTY user interfaces, you need configure the VTY user
interfaces of the SSH server to support remote SSH login.
If you have configured a user interface to support SSH protocol, to ensure a successful login to the
user interface, you must configure AAA authentication for the user interface by using the
authentication-mode scheme command.
For a user interface, if you have executed the authentication-mode password or
authentication-mode none command, the protocol inbound ssh command cannot be executed;
if you have executed the protocol inbound ssh command, neither of the authentication-mode
password and authentication-mode none commands can be executed.
Examples
# Configure vty0 through vty4 to support SSH only.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] user-interface vty 0 4
[Sysname-ui-vty0-4] authentication-mode scheme
[Sysname-ui-vty0-4] protocol inbound ssh
public-key local create
Syntax
public-key local create { dsa | rsa }
View
System view
Parameters
dsa: Specifies the DSA key pair.
rsa: Specifies the RSA key pair.
1-11