Difference between revisions of "SSH Cisco IOS"
From Teknologisk videncenter
m |
m |
||
Line 26: | Line 26: | ||
line con 0 | line con 0 | ||
login authentication CONSOLE | login authentication CONSOLE | ||
+ | ! | ||
+ | service password-encryption | ||
</source> | </source> | ||
{{Source cli}} | {{Source cli}} | ||
[[Category:IOS]] | [[Category:IOS]] |
Revision as of 19:14, 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
!
service password-encryption