Difference between revisions of "SSH Cisco IOS"

From Teknologisk videncenter
Jump to: navigation, search
m
m
Line 23: Line 23:
 
line vty 0 4
 
line vty 0 4
 
  transport input ssh
 
  transport input ssh
 +
!
 +
line con 0
 +
login authentication CONSOLE
 
</source>
 
</source>
 
{{Source cli}}
 
{{Source cli}}
 
[[Category:IOS]]
 
[[Category:IOS]]

Revision as of 18:51, 21 June 2010

Example of configuration

crypto key generate rsa general-keys modulus 1024
!
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
!
username admin password 0 l8heise
!
line vty 0 4
 transport input ssh
!
line con 0
 login authentication CONSOLE