设备型号为C3850
ip domain-name SW1 no ip domain lookup username tudou123 password tudou123 enable password tudou123 crypto key generate rsa modulus 1024 ip ssh version 2 line vty 0 4 login local transport input ssh privilege level 152.华为设备配置SSH登录
设备型号为S3700
rsa local-key-pair create 1024 aaa local-user tudou123 password cipher tudou123 local-user tudou123 service-type ssh local-user tudou123 privilege level 3 stelnet server enable ssh user tudou123 authentication-type all ssh user tudou123 service-type all user-interface vty 0 4 authentication-mode aaa protocol inbound ssh



