Ruijie Community

Title: Can EG2100-P V2 and EG3250 support SSH terminal server? [Print this page]

Author: GTAC-Sophia    Time: 2023-1-18 14:26
Title: Can EG2100-P V2 and EG3250 support SSH terminal server?
You can enable SSH service for EG by the commands.
1.Enable the SSH service for the EG
Ruijie#configure terminal   //Enter the global configuration mode
Ruijie(config)#enable service ssh-server   //Enable the SSH service
2. Generate the encryption key
Ruijie(config)#crypto key generate dsa // There aretwo encryption methods: DSA and RSA, you can choose one based on your need

Choose the size of the key modulus in the range of360 to 2048 for your
Signature Keys. Choosing a key modulus greater than512 may take a few minutes.
How many bits in the modulus [512]:// Hit Enter

% Generating 512 bit DSA keys ... [ok]
Note: If you want to restrict the login throughtelnet to SSH, you need to adjust the configuration. By default, you can log inthrough both telnet and SSH.
Ruijie(config)#line vty 0 4
Ruijie(config-line)#transport input ssh
all All protocols
none No protocols
ssh TCP/IP SSH protocol
telnet TCP/IP Telnet protocol
3.Demo using SecureCRT software as SSH client
(1)Select the + sign to create a new ssh connection.

(2)Select SSH2 as the protocol and enter the IP address of the router as the host name


(3)Enteruser mode after confirmation, namely Ruijie > mode







Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2