Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: SSH Logging in Windows? (Using cygwin) |
|---|---|
| Date: | Tue, 25 Sep 2007 19:43:23 -0400 |
I will try to help. You can install syslog-ng in CygWin. The logins will then appears into the default syslog /var/log/messages, but there is not logouts log. The others points aren't really possibles. You can't log the traffic because it's encrypted, unless the packet travel one more hop in which case you can use a common network sniffer (like WireShark), but you can't distinguish what come from or go to a SSH's pipe from the rest of the local traffic. You can get a "log" some commands by copying the .history file IF a shell is used and if it create one. scp and sftp are some example that will not be logged and you will not known which files have been copied (in or out). P.Rouleau At 11:13 2007-09-24, you wrote:
Hi all, I have set SSH up on my Windows XP Home Edition computer some time ago. I wanted to be able to log all incoming and outgoing SSH traffic / commands issued to the server to a file. Currently, SSH is logging to Windows and the log can be view from Windows Event Viewer. This is not what I want and I was hoping to sort of 're-direct' the data to a log file somewhere (like say the sshd.log file which isn't being used at the moment). I am unable to find a guide on it at all on this, and I hope someone can help me. Thanks in advance! ---------------------------- Windows XP Home Edition 256 MB RAM Running SSH 4.7p1-2 on Cygwin. (Package retrieved from Cygwin repository at sourceforge.net) -- View this message in context: http://www.nabble.com/SSH-Logging-in-Windows--%28Using-cygwin%29-tf4503918.html#a12844983 Sent from the SSH (Secure Shell) mailing list archive at Nabble.com.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | SSH Logging in Windows? (Using cygwin), skylive |
|---|---|
| Next by Date: | SSH passphrase authentication, jwicks |
| Previous by Thread: | SSH Logging in Windows? (Using cygwin), skylive |
| Next by Thread: | SSH passphrase authentication, jwicks |
| Indexes: | [Date] [Thread] [Top] [All Lists] |