In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Configure the SSH login for the H3C S5024Pv2-EI switch.
This switch is weak layer 3.
I configure intranet management and log in to SSH.
Log in using the console line. Would you?
A notebook. One console line. An exchange.
Laptops don't need to be configured for anything. One end of the console is USB, and the other is RJ45. Connect the laptop and the switch respectively.
I use XSHELL to connect. The mouth is com3. (you need to know how many com you are, computer-management-device manager, to see how many COM ports you have identified.)
Configuration step
(1) configure SSH server
# generate RSA key pairs.
Sys
System View: return to User View with Ctrl+Z.
[H3C] public-key local create rsa
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512
It will take a few minutes.
Press CTRL+C to abort.
Input the bits of the modulus [default = 1024]:
Generating Keys...
+ +
+
+
+
# generate DSA key pairs.
[H3C]
[H3C] public-key local create dsa
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512
It will take a few minutes.
Press CTRL+C to abort.
Input the bits of the modulus [default = 1024]:
Generating Keys...
+
+ +
# start the SSH server.
[H3C] ssh server enable
Info: Enable SSH server.
# configure the IP address of VLAN virtual interface Vlan-interface 1 as 192.168.1.1, which is used as the login address of the SSH server.
[H3C] interface Vlan-interface 1
[H3C-Vlan-interface1] ip address 192.168.1.1 255.255.255.0
[H3C-Vlan-interface1] quit
# set the authentication method of SSH client login user interface to AAA authentication.
[H3C] user-interface vty 0 4
[H3C-ui-vty0-4] authentication-mode scheme
# set the remote user login protocol on Switch to SSH.
[H3C-ui-vty0-4] protocol inbound ssh
[H3C-ui-vty0-4] quit
# create a local user client-1 with a password of abcdefg, and set the command level accessed by the user to 3.
[H3C] local-user client-1
New local user added.
[H3C-luser-client-1] password simple abcdefg
[H3C-luser-client-1] service-type ssh
[H3C-luser-client-1] authorization-attribute level 3
[H3C-luser-client-1] quit
# configure the service type of SSH user client-1 to be Stelnet, and the authentication method is password authentication (this step is not required).
[H3C] ssh user client-1 service-type stelnet authentication-type password
(2) the SSH client establishes a connection with the SSH server
There are many SSH client software. Here, take SecureCRT and PuTTY as examples:
The connection to the server is the same. (saved by save)
-
Add a little knowledge:
Modify the management IP address:
Interface vlan-interface 1
Undo ip address
Ip address 192.168.100.1 24
Save
Trunk port, allowing multiple VLAN to pass through. So it's good to connect to the core switch, or the aggregation layer switch. With TRUNK mouth.
Access port, only one VLAN is allowed to pass.
This basic knowledge is the foundation in HCNA or CCNA.
The RJ45 port, which is directly connected to the server, is usually called the electric port.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.