“SMS trace”/”trace32.exe” or “tracer.exe” for the command-line version of “tail -f” to continually monitor a growing log file can be found in the Microsoft Systems Management Server toolkit, nowadays called System Center Configuration Manager Toolkit (SCCM 2012).
Yay! I think I prefer cygwin + tail -f 🙂
To set up sshd on cygwin:
- install cygwin including the openssh package
- create local (or domain?) user “cyg_server” and make it member of the “Administrators” group
- Local Computer Policy -> Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment
- right click “Act as part of the operating system” -> Properties -> Add User or Group
- right click “Create a token object” -> Properties -> Add User or Group
- right click “Replace a process level token” -> Properties -> Add User or Group
Perform a “gpupdate” to sync the policy changes in the domain.
- start a bash (cygwin terminal) with Administrative privileges
- mkpasswd -l -d YOUR_DOMAIN > /etc/passwd #(skip -d YOUR_DOMAIN if not using a domain)
- mkgroup -l -d YOUR_DOMAIN > /etc/group #(skip -d YOUR_DOMAIN if not using a domain)
- ssh-host-config -y
- “cygrunsrv -S sshd” or “net start sshd”