|
|
|
|
||||||
| comp.security.ssh SSH secure remote login and tunneling tools. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
hi,
I'm using openssh for remote administration, but I can't find the logfile on the server machine. I've tried to look in /var/log/ but there isn't anything for ssh. What may I write in sshd_config for logging events and specify logfile path? Thank you. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
"remigio" <realelino@tiscali.it> writes:
> hi, > I'm using openssh for remote administration, but I can't find the > logfile on the server machine. > I've tried to look in /var/log/ but there isn't anything for ssh. > What may I write in sshd_config for logging events and specify logfile > path? > Thank you. > sshd logs via the syslog facility, the configuration of which is typically in /etc/syslog.conf Usually folks have most things logged to /var/log/messages so that's a good first place to look. In sshd_config I believe these settings dictate how syslog sees the messages, for example: SyslogFacility AUTH LogLevel INFO Then in syslog.conf you could set a separate file for logging auth facility messages with a line like auth.info /var/log/auth_sshd.log Best Regards, -- Todd H. http://www.toddh.net/ |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Thank you very much!
Hi |
|
![]() |
| Outils de la discussion | |
|
|