Je ne trouve pas les logs de ssh. Où sont-ils ? Y a-t-il une option à activer ? man sshd_config ne m'a pas beaucoup aidé...
t'as des traces dans secure.log si tu veux plus il faudra modifier /etc/syslog.conf
patpro
-- http://www.patpro.net/
Nicolas.MICHEL
Julien Salort wrote:
Bonjour,
Je ne trouve pas les logs de ssh. Où sont-ils ? Y a-t-il une option à activer ? man sshd_config ne m'a pas beaucoup aidé...
Salut
Pas testé mais ... Là, comme ça, je dirais que sshd s'en fout. Il balance les logs à syslog, sans se demander ce qui se passe après.
Ensuite en fonction de /etc/syslog.conf, les logs sont envoyés là où il faut, par défaut dans security.log pour sshd :
authpriv.*;remoteauth.crit /var/log/secure.log
Sinon dans les options de sshd on trouve ça : (à tester)
-d Debug mode. The server sends verbose debug output to the system log, and does not put itself in the background. The server also will not fork and will only process one connection. This option is only intended for debugging for the server. Multiple -d options increase the debugging level. Maximum is 3.
-e When this option is specified, sshd will send the output to the standard error instead of the system log.
-q Quiet mode. Nothing is sent to the system log. Normally the beginning, authentication, and termination of each connection is logged.
-- S'il n'y a pas de solutions, c'est qu'il n'y a pas de problèmes iChat/AIM : michelnicolas
Julien Salort <lists@juliensalort.org> wrote:
Bonjour,
Je ne trouve pas les logs de ssh. Où sont-ils ?
Y a-t-il une option à activer ?
man sshd_config ne m'a pas beaucoup aidé...
Salut
Pas testé mais ...
Là, comme ça, je dirais que sshd s'en fout.
Il balance les logs à syslog, sans se demander ce qui se passe après.
Ensuite en fonction de /etc/syslog.conf, les logs sont envoyés là où il
faut, par défaut dans security.log pour sshd :
authpriv.*;remoteauth.crit /var/log/secure.log
Sinon dans les options de sshd on trouve ça : (à tester)
-d Debug mode. The server sends verbose debug output to the system
log, and does not put itself in the background. The server also
will not fork and will only process one connection. This option
is only intended for debugging for the server. Multiple -d
options increase the debugging level. Maximum is 3.
-e When this option is specified, sshd will send the output to the
standard error instead of the system log.
-q Quiet mode. Nothing is sent to the system log. Normally the
beginning, authentication, and termination of each connection is
logged.
--
S'il n'y a pas de solutions, c'est qu'il n'y a pas de problèmes
iChat/AIM : michelnicolas
Je ne trouve pas les logs de ssh. Où sont-ils ? Y a-t-il une option à activer ? man sshd_config ne m'a pas beaucoup aidé...
Salut
Pas testé mais ... Là, comme ça, je dirais que sshd s'en fout. Il balance les logs à syslog, sans se demander ce qui se passe après.
Ensuite en fonction de /etc/syslog.conf, les logs sont envoyés là où il faut, par défaut dans security.log pour sshd :
authpriv.*;remoteauth.crit /var/log/secure.log
Sinon dans les options de sshd on trouve ça : (à tester)
-d Debug mode. The server sends verbose debug output to the system log, and does not put itself in the background. The server also will not fork and will only process one connection. This option is only intended for debugging for the server. Multiple -d options increase the debugging level. Maximum is 3.
-e When this option is specified, sshd will send the output to the standard error instead of the system log.
-q Quiet mode. Nothing is sent to the system log. Normally the beginning, authentication, and termination of each connection is logged.
-- S'il n'y a pas de solutions, c'est qu'il n'y a pas de problèmes iChat/AIM : michelnicolas