启用登录 openSSH,Windows 2003 框
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3764357/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
enabling log in openSSH, Windows 2003 box
提问by user234194
I have 3 files inside OpenSSH\var\log, they are:
lastlog
OpenSSHD.log
wtmp
I changed the sshd_config file's
LogLevel INFO
我在 OpenSSH\var\log 中有 3 个文件,它们是:
lastlog
OpenSSHD.log
wtmp
我更改了 sshd_config 文件的 LogLevel INFO
Then also I am not getting any logs, anywhere.
然后我也没有在任何地方得到任何日志。
Can anybody help me to enable the log file.
谁能帮我启用日志文件。
Any help is appreciated.Thanks
任何帮助表示赞赏。谢谢
回答by Eugene Mayevski 'Callback
On Windows OpenSSH ports write to system event log, which you can view using Event Viewer. Files in /var/log are not used
在 Windows OpenSSH 端口上写入系统事件日志,您可以使用事件查看器查看该日志。不使用 /var/log 中的文件