Difference between revisions of "SSH Cisco IOS"
From Teknologisk videncenter
								
												
				m (Cisco IOS SSH moved to SSH Cisco IOS)  | 
				m (→Example of configuration)  | 
				||
| Line 2: | Line 2: | ||
<source lang=cli>  | <source lang=cli>  | ||
crypto key generate rsa general-keys modulus 1024  | crypto key generate rsa general-keys modulus 1024  | ||
| + | !  | ||
| + | hostname R1  | ||
| + | !  | ||
| + | username admin password 0 l8heise  | ||
| + | !  | ||
| + | ip domain-name TSHOOT.HOT  | ||
!  | !  | ||
aaa new-model  | aaa new-model  | ||
| Line 18: | Line 24: | ||
ip ssh source-interface Loopback0  | ip ssh source-interface Loopback0  | ||
ip ssh logging events  | ip ssh logging events  | ||
| − | |||
| − | |||
!  | !  | ||
line vty 0 4  | line vty 0 4  | ||
Revision as of 18:35, 26 June 2010
Example of configuration
crypto key generate rsa general-keys modulus 1024
!
hostname R1
!
username admin password 0 l8heise
!
ip domain-name TSHOOT.HOT
!
aaa new-model
aaa authentication login default local
aaa authentication login CONSOLE none
aaa authorization exec default local
aaa session-id common
!
enable secret cisco
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
ip ssh time-out 60
ip ssh authentication-retries 2
ip ssh source-interface Loopback0
ip ssh logging events
!
line vty 0 4
 transport input ssh
!
line con 0
 login authentication CONSOLE
!
service password-encryption