1832430 Members
3187 Online
110042 Solutions
New Discussion

Re: ssh and syslog

 
Tim Killinger
Regular Advisor

ssh and syslog

We've recently installed ssh and have disabled telnet for security purposes. I've noticed that we are now seeing large quantities of informational SSH connection messages being written to syslog now that we are connecting thru SSH. Can anyone tell me how to disable all this SSH syslog logging activity?

Thanks!
5 REPLIES 5
Jeff Schussele
Honored Contributor

Re: ssh and syslog

Hi Tim,

Couple of options to use with the sshd daemon:

-e sends output to std error instead of syslog
-q is quiet mode & will send nothing to syslog

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Rick Garland
Honored Contributor

Re: ssh and syslog

Check the sshd_config file for configuration options. There are many options there
renarios
Trusted Contributor

Re: ssh and syslog

Hi tim,

Try man syslogd or maybe this url helps:
http://www.employees.org/~satch/ssh/faq/INSTALL.txt


Cheers,

Renarios
Nothing is more successfull as failure
HGN
Honored Contributor

Re: ssh and syslog

Hi

The sshd2_config file has the options to redirect the log files.
man ssh shows many options
ssh -o ...(some of the optins are ForwardAgent
ForwardX11
ForwardX11Trusted)
these can be changed in the sshd_config file located in /opt/ssh/etc
After all the changes you need to restart the sshd to make these changes effective.

Hope this helps

Rgds

HGN
Tim Killinger
Regular Advisor

Re: ssh and syslog

Thanks all... uncommenting the following option in /etc/ssh2/sshd2_config did the trick:


# VerboseMode no
QuietMode yes