cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
165
Views
0
Helpful
1
Replies
Highlighted
Beginner

logging ssh access

Based on my config I expect to see logging of access to my 2621 router when I ssh to it. However no such records appear in the log file. What's wrong?

I am getting other messages in the log files.

logging trap debugging

logging facility local5

logging 134.117.176.19

access-list 100 remark Permit SSH access from admin systems

access-list 100 permit ip host 134.117.178.68 any log-input

access-list 100 permit tcp host 134.117.176.14 any eq 22 log-input

access-list 100 permit tcp host 10.1.10.2 any eq 22 log-input

access-list 100 deny ip any any log-input

line vty 0 4

access-class 100 in

exec-timeout 9 0

privilege level 0

password 7 XXXXXXXXXXXXXX

transport input ssh

134.117.176.19 syslog.conf

# All LOCAL5 messages (debug and above) go to the ciscoacl

# This includes ACL logs which are logged at severity debug

#

local5.debug /var/log/cisco/ciscoacl

#

# LOCAL5 messages (notice and above) go to the ciscoinfo

# This excludes ACL logs which are logged at severity debug

#

local5.notice /var/log/cisco/ciscoinfo

1 REPLY 1
Frequent Contributor

Re: logging ssh access

Check the following link on configuring System Message logging, see if it helps in troubleshooting :

http://www.cisco.com/en/US/products/hw/wireless/ps4570/products_configuration_guide_chapter09186a0080184ad4.html

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards