authentication mode aaa

Created Apr 02, 2018 19:01:48Latest reply Apr 06, 2018 17:00:36 1312 2 0 0
  Rewarded E coins: 0 (problem resolved)
Hello, 


i  want to change vty auth type from password to ssh . 
but under user-interface vty 0 4 i set to authentication mode aaa it is giving error . the authentication mode cannot change frequently. 

Also i did following configuration for SSH login. can some one confirm the below configurations are enough for ssh connection as after configuration i tried to ssh through secure crt its not working but in ensp it works fine. 

SSH CONFIGURATION:

aaa
local-user huawei password cipher huawei123
local-user huawei privi level 15
local-user huawei service type sssh

stelnet server enable 
rsa local-key-pair create
1024

user-interface vty 0 4
authentication mode aaa
user privili level 15
protocol inbound sssh 


Please confirm what is the minimum configuration for succesful ssh from securecrt and from Switch to switch, 

Thanks,
  • x
  • convention:

Sergio93  Moderator   Created Apr 02, 2018 19:06:49 Helpful(1) Helpful(1)

This post was last edited by stefan.sergiu at 2018-4-2 19:14. Hello, if you want to use the Radius server to authenticate the ssh users please follow this guide :
http://support.huawei.com/hedex/ ... 0STelnet Login (Based on RADIUS Authentication)&docid=EDOC1000135317

L.E: for password authentication this is the guide: 
http://support.huawei.com/hedex/pages/EDOC1000135317AEG0221R/05/EDOC1000135317AEG0221R/05/resources/dc/dc_cfg_login_1034.html?ft=0&fe=10&hib=12.4.1.7.8.4&id=dc_cfg_login_1034&text=Example%20for%20Configuring%20STelnet%20Login&docid=EDOC1000135317
  • x
  • convention:

BEST ANSWER! If you think I earn it!
If this post was useful to you, please click the Helpful button and flag my post as a "BEST ANSWER" so others can benefit. Thank you
owenchen     Created Apr 06, 2018 17:00:36 Helpful(0) Helpful(0)

try this

rsa local-key-pair create
2048
#
user-interface vty 0 4
authentication-mode AAA
protocol inbound all
quit
#
ssh user xxxx service-type all
ssh user xxxx authentication-type all
#
stelnet server enable
aaa
local-user xxxxx password irreversible-cipher xxxxxx
local-user xxxxx privilege level 15
local-user xxxxx service-type http ssh

Rating

Number of participants 1E Coins +5 Collapse Reasons
user_2910347 + 5 Awesome!

View All scores

  • x
  • convention:

Responses

Reply
You need to log in to reply to the post Login | Register

Notice:To ensure the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, trade marks, copyrights, and patents, and personal privacy. Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see“ Privacy Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top