Re: Enable logging remote ssh contacts

2011-04-29 Thread Cyrille Lefevre
Le 29/04/2011 10:44, Corinna Vinschen a écrit : On Apr 29 01:21, Fokke Nauta wrote: I can't reproduce the SEGV. However, your expression is wrong anyway: - (getfacl messages | echo group:Users:r--) typo, sorry - setfacl -m -f - typo yet, I would like to say -r -f - humm, what is the

Re: Enable logging remote ssh contacts

2011-04-29 Thread Fokke Nauta
ror message. > > My fault. Should have been: > > (getfacl messages ; echo group:545:r--) | setfacl -f - messages > > > Corinna > Thanks, that worked. I am now able to access /var/log/messages from within Windows. I can now shutdown the cron service, thus avoiding

Re: Enable logging remote ssh contacts

2011-04-29 Thread Corinna Vinschen
On Apr 29 02:02, Fokke Nauta wrote: > Corinna Vinschen-2 wrote: > > Fortunately you can also use the gid instead of the group name: > > > > (getfacl messages ; echo group:545:r--) | setfacl -f - > > > > > > Corinna > > > > Hi, > > Thanks. > Entering "(getfacl messages ; echo group:545:r-

Re: Enable logging remote ssh contacts

2011-04-29 Thread Fokke Nauta
etc. If you > use "Users" on a non-English system, you are probably out of luck. > > Fortunately you can also use the gid instead of the group name: > > (getfacl messages ; echo group:545:r--) | setfacl -f - > > > Corinna > Hi, Thanks. Entering &quo

Re: Enable logging remote ssh contacts

2011-04-29 Thread Corinna Vinschen
On Apr 29 01:21, Fokke Nauta wrote: > Cyrille Lefevre wrote: > > no, setfacl %-| > > > > (getfacl messages | echo group:Users:r--) | setfacl -m -f - messages > > > > PS : replace Users by the equivalents group on your system (Utilisateurs > > in french under Vista, don't know under XP ?) > > we

Re: Enable logging remote ssh contacts

2011-04-29 Thread Fokke Nauta
ot),544(Administrators),545(Users),1005(boinc_admins) Now everything works fine except that every action of copying /var/log/messages to /cygdrive/e/files/logs/cygwin/ssh.log generates an entry in /var/log/messages. Is there any way to avoid that? Regards, Fokke -- View this message in co

Re: Enable logging remote ssh contacts

2011-04-28 Thread Cyrille Lefevre
Le 28/04/2011 14:29, Fokke Nauta a écrit : Hi, Thanks for your help and explanation. you're welcome... For a beginning: "syslogd must be started before sshd... does it ?" It does. I can read the file /var/log/messages from the Cygwin shell and it gets filled with data. right. Hence the r

Re: Enable logging remote ssh contacts

2011-04-28 Thread Fokke Nauta
p Command : /usr/sbin/syslog-ng -F stdin path : /dev/null stdout path : /var/log/syslog-ng.log stderr path : /var/log/syslog-ng.log Process Type: Own Process Startup : Automatic Account : LocalSystem With regards, Fokke -- View this

Re: Enable logging remote ssh contacts

2011-04-28 Thread Fokke Nauta
ifferent location. I am since then able to open that new file from Windows. Problem: The action of copying also creates an entry in /var/log/messages. So that file is full of these entries. What is the difference between LogLevel INFO and LogLevel VERBOSE in /etc/sshd-config? My properties of /var/log

Re: Enable logging remote ssh contacts

2011-04-27 Thread Cyrille Lefevre
Le 27/04/2011 20:49, Fokke Nauta a écrit : Hi, I don't have any ll in the shell. Not recognized. So I can't see the I have syslog-ng running. Should I replace that by autossh? syslogd must be started before sshd... does it ? let's try configuring both services differently : # backup the act

Re: Enable logging remote ssh contacts

2011-04-27 Thread René Berber
On 4/27/2011 1:49 PM, Fokke Nauta wrote: > I don't have any ll in the shell. Not recognized. Oops! My mistake, ll is an bash alias I defined, its just "ls -alhF --color=tty" (actually is an alias that uses the alias ls is defined to, but I included what both aliases do for simplicity). > So I c

Re: Enable logging remote ssh contacts

2011-04-27 Thread Fokke Nauta
/var/log/messages to a different location every 10 minutes. I can now read that file from Windows. However, copying that file creates an entry in the /var/log/messages file. So better quit syslog-ng and cron and use autossh instead? Fokke -- View this message in context: http://old.nabble.com/

Re: Enable logging remote ssh contacts

2011-04-27 Thread René Berber
On 4/27/2011 2:31 AM, Fokke Nauta wrote: [snip] > I guess it works, but until yet I have not been able to open the file > messages, as access is denied, even after stopping the syslog service. On Windows XP? It should be readable by everybody. What permissions and ownership do you see for the l

Re: Enable logging remote ssh contacts

2011-04-27 Thread Fokke Nauta
until yet I have not been able to open the file messages, as access is denied, even after stopping the syslog service. Fokke -- View this message in context: http://old.nabble.com/Enable-logging-remote-ssh-contacts-tp31478200p31485107.html Sent from the Cygwin list mailing list archive at

Re: Enable logging remote ssh contacts

2011-04-26 Thread Fokke Nauta
real log file I need to install/configure/run syslog-ng. How do I do that? Fokke -- View this message in context: http://old.nabble.com/Enable-logging-remote-ssh-contacts-tp31478200p31484865.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cy

Re: Enable logging remote ssh contacts

2011-04-26 Thread René Berber
On 4/26/2011 2:02 PM, Fokke Nauta wrote: [snip] > I edited the proper sshd_config file. Perhaps I didn't do that well enough, > but after restarting the Cygwin ssh service no login attempt was logged > after I logged in. Where are you looking for the log? If you are not running syslog-ng (or any

Re: Enable logging remote ssh contacts

2011-04-26 Thread Fokke Nauta
They will be replaced each time you update. > > -- > Larry > > Thanks. Never thought of opening the shell and type "man sshd_config". It reminds me of UNIX :-) Long before I got to Windows. I edited the proper sshd_config file. Perhaps I didn't do that well eno

Re: Enable logging remote ssh contacts

2011-04-26 Thread Larry Hall (Cygwin)
On 4/26/2011 10:10 AM, Fokke Nauta wrote: Dawud Medina wrote: On Tue, Apr 26, 2011 at 06:02:00AM -0700, Fokke Nauta wrote: Is there any way to enable logging remote login attempts to have a view op what happens? Check the sshd_config manpage for LogLevel and/or SyslogFacility. Works the sa

Re: Enable logging remote ssh contacts

2011-04-26 Thread Fokke Nauta
e for GNU/Linux, not cygwin specific. > > Where can I find this man page? I see two sshd_config config pages, one in \cygwin\etc and one in \cygwin\etc\defaults\etc. Which one do I need to alter? Fokke -- View this message in context: http://old.nabble.com/Enable-logging-remote-ssh-conta

Re: Enable logging remote ssh contacts

2011-04-26 Thread David Sastre
On Tue, Apr 26, 2011 at 06:02:00AM -0700, Fokke Nauta wrote: > Is there any way to > enable logging remote login attempts to have a view op what happens? Check the sshd_config manpage for LogLevel and/or SyslogFacility. Works the same for GNU/Linux, not cygwin specific. -- Huella de clave primar

Enable logging remote ssh contacts

2011-04-26 Thread Fokke Nauta
any way to enable logging remote login attempts to have a view op what happens? Thanks in advance, With kind regards, Fokke Nauta -- View this message in context: http://old.nabble.com/Enable-logging-remote-ssh-contacts-tp31478200p31478200.html Sent from the Cygwin list mailing list archive at