One: Configure the configuration of the console password/telnet/ssh (forgot password)

Source: Internet
Author: User
Tags server port ssh access ssh ftp ssh server

① Configuring the console login password

  The first way to configure authentication (AAA)

[Server] AAA (authentication mode)

[SERVER-AAA] local-user admin1234 password irreversible-cipher (irreversible password) [email protected] (local user admin1234 password)

[SERVER-AAA] Local-user admin1234 Privilege level 15 (local user Privilege 15)

[SERVER-AAA] local-user admin1234 service-type ssh (local user admin1234 AAA service SSH)

Then set the login mode of the console port to the authentication mode.

[Server]user-interface console 0 (user logged in with console port)

[Server]authentication-mode AAA (the Certified mode is AAA)

② Configuring Telnet and Stelnet

First, you need to configure the virtual end user Login

[Server] user-interface vty 0 4

[server-ui-vty0-4] User Privilege level 15 (User Privilege 15) If you configure AAA and you need the same user privileges, you do not need to configure

[Server-ui-vty0-4] Authentication-mode AAA (authentication Mode AAA)

Then configure AAA authentication Mode

[SERVER-AAA] local-user admin1234 password irreversible-cipher (irreversible password) [email protected] (local user admin1234 password)

[SERVER-AAA] Local-user admin1234 Privilege level 15 (local user Privilege 15)

[Server-aaa]local-user Lvshou ftp-directory Flash: (local user's Flash for FTP directory)

command to configure Telnet: [server-aaa] local-user admin1234 service-type telnet (local user admin1234 AAA Service Telnet) If you are configuring Telnet then only need to turn on the Telnet service configuration to complete

command to configure stelnet: [server-aaa] local-user admin1234 service-type terminal (end user) SSH FTP

Finally configure the stelnet SSH

[Server]stelnet Server Enable

[SERVER]SSH Server port 55066 (SSH access via port 55066)

[Server]ssh User Lvshou

[server]ssh User Lvshou authentication-type password (SSH users lvshu authentication type password means password is required for this user to log in)

[Server] SSH user Lvshou service-type stelnet

One: Configure the configuration of the console password/telnet/ssh (forgot password)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.