authentication mode aaa

Created: Apr 2, 2018 11:01:48Latest reply: Apr 6, 2018 09:00:36 1509 2 0 0
  Rewarded Hi-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:

Featured Answers
Sergio93
Created Apr 2, 2018 11:06:49 Helpful(1) Helpful(1)

This post was last edited by stefan.sergiu at 2018-04-02 11: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
All Answers
Sergio93
Sergio93 Created Apr 2, 2018 11:06:49 Helpful(1) Helpful(1)

This post was last edited by stefan.sergiu at 2018-04-02 11: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
owenchen Created Apr 6, 2018 09: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
WoodWood user_2910347 + 5 Awesome!

View All scores

  • x
  • convention:

Reply

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

Notice Notice: To protect 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 are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including 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."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login