View previous topic :: View next topic |
Author |
Message |
jvfarr n00b
Joined: 01 Mar 2005 Posts: 12
|
Posted: Wed Mar 02, 2005 3:55 am Post subject: n00b ssh |
|
|
Okay, sorry to ask such a n00b question but where is the default location of the logs for ssh? |
|
Back to top |
|
|
freebies_11 n00b
Joined: 09 Dec 2004 Posts: 36
|
Posted: Wed Mar 02, 2005 4:20 am Post subject: |
|
|
/var/log/messages? |
|
Back to top |
|
|
jvfarr n00b
Joined: 01 Mar 2005 Posts: 12
|
Posted: Wed Mar 02, 2005 8:47 am Post subject: |
|
|
Okay, what I meant to say was how do I change where the log is at, instead of the default, I wanna be able to have ssh write it's logs to /var/logs/sshd.log anyone know how to do that? |
|
Back to top |
|
|
evoweiss Veteran
Joined: 07 Sep 2003 Posts: 1678 Location: Edinburgh, UK
|
Posted: Wed Mar 02, 2005 11:29 am Post subject: |
|
|
jvfarr wrote: | Okay, what I meant to say was how do I change where the log is at, instead of the default, I wanna be able to have ssh write it's logs to /var/logs/sshd.log anyone know how to do that? |
My ssh logs are in /var/log/sshd/
Best,
Alex |
|
Back to top |
|
|
expat_iain Guru
Joined: 09 Jan 2004 Posts: 361 Location: Malta GC
|
Posted: Wed Mar 02, 2005 11:49 am Post subject: |
|
|
In /etc/ssh/sshd_config you should find the following:
Code: | # Logging
#obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO |
Then you can modify those and play around with the settings in /etc/syslog.conf to specify destination log files.
Regs.
Iain. |
|
Back to top |
|
|
|