Cisco Cisco ASA 5555-X Adaptive Security Appliance 产品宣传页

下载
页码 904
 
28-7
Cisco ASA Series 
일반적인 작업 CLI 구성 가이드
 
28 
장     AAA 및 로컬 데이터베이스 
  
공유 키 생성
5
단계
(
선택사항) VPN 인증에 이 사용자 이름을 사용할 경우 해당 사용자에 대해 여러 VPN 특성을 구
성할 수 있습니다. 자세한 내용은 VPN 구성 가이드를 참조하십시오.
다음 예에서는 권한 수준 15를 관리자 어카운트에 할당합니다.
ciscoasa(config)# username admin password password privilege 15
다음 예에서는 비밀번호가 없는 사용자 어카운트를 생성합니다.
ciscoasa(config)# username user34 nopassword
다음 예에서는 관리 권한 부여를 활성화하고, 비밀번호가 있는 사용자 어카운트를 생성하고, 사용
자 이름 구성 모드를 입력하고 nas-prompt의 service-type을 다음과 같이 지정합니다.
ciscoasa(config)# aaa authorization exec authentication-server
ciscoasa(config)# username user1 password gOgeOus
ciscoasa(config)# username user1 attributes
ciscoasa(config-username)# service-type nas-prompt
공유 키 생성
Linux 
또는 Macintosh 시스템에서 SSH용 공유 키를 생성하고 이를 가져오려면 다음 단계를 수행
하십시오.
절차
1
단계
4096
비트용 ssh-rsa 공개 및 개인 키를 컴퓨터에 생성합니다.
jcrichton-mac:~ john$ ssh-keygen -b 4096
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/john/.ssh/id_rsa): 
/Users/john/.ssh/id_rsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase): pa$$phrase
Enter same passphrase again: pa$$phrase
Your identification has been saved in /Users/john/.ssh/id_rsa.
Your public key has been saved in /Users/john/.ssh/id_rsa.pub.
The key fingerprint is:
c0:0a:a2:3c:99:fc:00:62:f1:ee:fa:f8:ef:70:c1:f9 john@jcrichton-mac
The key's randomart image is:
+--[ RSA 4096]----+
| .               |
|  o  .           |
|+...  o          |
|B.+.....         |
|.B ..+  S        |
|  =   o          |
|   + . E         |
|  o o            |
| ooooo           |
+-----------------+
2
단계
다음과 같이 키를 PKF 형식으로 변환합니다.
jcrichton-mac:~ john$ cd .ssh
jcrichton-mac:.ssh john$ ssh-keygen -e -f id_rsa.pub