LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-30-2007, 06:21 PM   #1
rwhite7890
LQ Newbie
 
Registered: Jun 2005
Posts: 28

Rep: Reputation: 15
Suse SSH Log File


I am running ssh on my Suse box. I would like to change the logfile to NOT be /var/log/messages, but a specific file that set. I have been looking everywhere (web, man pages, etc) for the past few hours and haven't been able to figure it out.

Does anyone know how to do this or if this can even be done?
 
Old 10-01-2007, 10:58 AM   #2
Quigi
Member
 
Registered: Mar 2003
Location: Cambridge, MA, USA
Distribution: Ubuntu (Dapper and Heron)
Posts: 377

Rep: Reputation: 31
See man sshd_config:
Code:
     SyslogFacility
             Gives the facility code that is used when logging messages from
             sshd.  The possible values are: DAEMON, USER, AUTH, LOCAL0,
             LOCAL1, LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7.  The
             default is AUTH.
And /etc/syslog.conf specifies where messages for each facility should be logged. (A common choice for AUTH, if you stay with that default, is /var/log/auth.log .)

/Quigi
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
any ideas to reduce log file size or make log file size managed? George2 Programming 2 08-13-2006 06:55 AM
How to remove ssh headers from log file? sswaminath Programming 1 07-24-2005 11:43 PM
What is the equivlent of redhat's /var/log/secure file on SuSE? abefroman SUSE / openSUSE 1 05-29-2005 02:22 PM
SuSE 9.0 firewall log file? johnny1959 Linux - Newbie 2 03-09-2004 01:56 AM
iptables, changing log file from /var/log/messages acid2000 Linux - Networking 3 03-11-2003 08:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration