I am trying to enable some debug on an ASA5510 running 8.2(1) and want this debug sent to a syslog server in a test environment. My current config is below -
logging list test-ssh message 711001
logging buffer-size 10000
logging console warnings
logging monitor warnings
logging buffered debugging
logging trap test-ssh
logging asdm warnings
logging host inside X.X.X.X
At the moment I am just testing this by trapping message 711001 (debug). This all works when I enter the command 'debug ssh' and the messages get sent to my syslog server. If I do a 'show debug' it shows -
ciscoasa# sh deb
debug ssh enabled at level 255
The problem I am having is that as soon as I close my SSH session the debug command is completely removed and hence I stop receiving syslog. If I connect to the ASA again and do a 'show debug' there is nothing enabled.
Is there a way to enable a debug command permanently so that I can continue to receive the syslog message once the SSH session has been closed.