Step |
| Command | Remarks |
|
|
| By default, the |
14. | Specify SSH service for the |
| user admin can use terminal |
service, Telnet service, SSH | |||
| user. | service, and Web service, and no | |
|
| ||
|
|
| service type is specified for any |
|
|
| other local user. |
|
|
|
|
15. | Exit to system view. | quit | N/A |
|
|
|
|
16. | Create an SSH user, and | ssh user username |
|
stelnet |
| ||
| specify the authentication | { password { any | N/A |
| mode for the SSH user. |
| |
|
| assign publickey keyname } |
|
|
|
|
|
17. | Configure common settings | See "Configuring common VTY | Optional. |
| for VTY user interfaces. | user interface settings (optional)." | |
|
| ||
|
|
|
|
Using the device to log in to an SSH server
You can use the device as an SSH client to log in to an SSH server. If the server is located in a different subnet than the device, make sure the two devices have routes to reach each other.
Figure 36 Logging in to an SSH client from the device
Perform the following tasks in user view:
Task | Command | Remarks | |
Log in to an IPv4 SSH server. | ssh2 server | The server argument represents the IPv4 address or | |
host name of the server. | |||
|
| ||
|
|
| |
|
| The server argument represents the IPv6 address or | |
|
| host name of the server. | |
Log in to an IPv6 SSH server. | ssh2 ipv6 server | NOTE: | |
Support for the ssh2 ipv6 command depends on the | |||
|
| ||
|
| device model. For more information, see Getting | |
|
| Started Command Reference. |
To work with the SSH server, you might need to configure the SSH client. For information about configuring the SSH client, see Access Control Configuration Guide.
Local login through the AUX port
The following matrix shows the feature and hardware compatibility:
Hardware | Feature compatible |
No | |
|
|
| 38 |