User Tools

Site Tools


ruijie:switch:system_management:ssh_management

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ruijie:switch:system_management:ssh_management [2020/09/25 00:15] – created hvillanuevaruijie:switch:system_management:ssh_management [2020/09/25 10:55] (current) hvillanueva
Line 11: Line 11:
 ===== 2. Configuration Steps ===== ===== 2. Configuration Steps =====
  
-- Enable SSH service+**- Enable SSH service**
  
 //Ruijie#configure terminal   //  //Ruijie#configure terminal   // 
Line 17: Line 17:
 //Ruijie(config)#enable service ssh-server//  //Ruijie(config)#enable service ssh-server// 
  
 +
 +**- Generate key**
 +
 +//Ruijie(config)#crypto key generate dsa //       
 +
 +//Choose the size of the key modulus in the range of 360 to 2048 for your Signature Keys. Choosing a key modulus greater than 512 may take a few minute//
 +
 +//How many bits in the modulus [512]://     //**Press enter**//
 +
 +//% Generating 512 bit DSA keys ...[ok]//
 +
 +
 +**- Configure IP address**
 +
 +//Ruijie(config)#interface gigabitEthernet 0/0//       
 +
 +//Ruijie(config-if-GigabitEthernet 0/0)#ip address 192.168.1.1 255.255.255.0//      
 +
 +//Ruijie(config-if-GigabitEthernet 0/0)#exit//
 +
 +
 +**- Password login**
 +
 +//Ruijie(config)#line vty 0 4   //                                        
 +
 +//Ruijie(config-line)#login//     
 +
 +//Ruijie(config-line)#password ruijie //        
 +
 +//Ruijie(config-line)#exit//      
 +
 +//Ruijie(config)#enable password  ruijie//        
 +
 +//Ruijie(config)#end//         
 +
 +//Ruijie#write   //
 +
 +
 +**- Username & password login**
 +
 +//Ruijie(config)#line vty 0 4//            
 +
 +//Ruijie(config-line)#login local//           
 +
 +//Ruijie(config-line)#exit  // 
 +
 +//Ruijie(config)#username admin password ruijie//       
 +
 +//Ruijie(config)#enable password ruijie   //  
 +
 +//Ruijie(config)#end    //     
 +
 +//Ruijie#write  // 
 +
 +
 +===== 3. Verification =====
 +
 +
 +**- Check SSH service**
 +
 +{{:ruijie:switch:system_management:ruijie_ssh_1.png?400|}}
 +
 +
 +**- Check SSH services**
 +
 +{{:ruijie:switch:system_management:ruijie_ssh_2.jpg?600|}}
 +
 +
 +**- Show users**
 +
 +{{:ruijie:switch:system_management:ruijie_ssh_3.jpg?600|}}
  
ruijie/switch/system_management/ssh_management.1601010927.txt.gz · Last modified: 2020/09/25 00:15 by hvillanueva

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki