24.2. login/authentication

简介:

24.2.1. console

console(config)# aaa authentication login default line

console(config)# aaa authentication enable default line

console(config)# line console

console(config-line)# login authentication default

console(config-line)# enable authentication default

console(config-line)# password chen

		

24.2.2. telnet

console# configure
console(config)# aaa authentication login default line
console(config)# aaa authentication enable default line
console(config)# line telnet
console(config-line)# login authentication default
console(config-line)# enable authentication default
console(config-line)# password chen
console(config-line)# end
		

24.2.3. SSH

console(config)# aaa authentication login default line

console(config)# aaa authentication enable default line

console(config)# line ssh

console(config-line)# login authentication default

console(config-line)# enable authentication default

console(config-line)# password jones.

		

24.2.4. HTTP/HTTPS

HTTP

console(config)# ip http authentication local

console(config)# username admin password user1 level 15
		

HTTPS

console(config)# ip https authentication local

console(config)# username admin password user1 level 15
		

SSL 2.0

console(config)# crypto certificate generate key_generate

console(config)# ip https server
		





原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
相关文章
|
NoSQL Redis 数据安全/隐私保护
AUTH
AUTH
286 0
|
10月前
|
数据安全/隐私保护
Invalid Login Credentials
Invalid Login Credentials
66 0
Access denied for user ''@'localhost' (using password: NO)问题的解决
Access denied for user ''@'localhost' (using password: NO)问题的解决
117 0
Gitlab报错:No authentication methods configured on login page
Gitlab报错:No authentication methods configured on login page
149 0
|
开发工具 git
Incorrect username or password (access token)
Incorrect username or password (access token)
171 0
Incorrect username or password (access token)
|
数据安全/隐私保护
SAP Spartacus的登录验证机制 - user login Authentication
SAP Spartacus的登录验证机制 - user login Authentication
131 0
SAP Spartacus的登录验证机制 - user login Authentication
|
Web App开发 Java
利用Basic authentication 测试不同user的metadata access request
Created by Jerry Wang, last modified on Dec 26, 2014
145 0
利用Basic authentication 测试不同user的metadata access request
remote: Incorrect username or password ( access token ) fatal: Authentication failed for 'https:/...
remote: Incorrect username or password ( access token ) fatal: Authentication failed 开门见山—— 解决方法: 1.
5425 0
|
NoSQL Redis 数据安全/隐私保护
AUTH password
为redis服务请求设置一个密码。redis可以设置在客户端执行commands请求前需要通过密码验证。通过修改配置文件的requirepass就可以设置密码。 如果密码与配置文件里面设置的密码一致,服务端就会发会一个OK的状态码,接受客户端发送其他的请求命令,否则服务端会返回一个错误码,客户端需要尝试使用新的密码来进行连接。
1127 0