Difference between revisions of "Sshd windows config"
Jump to navigation
Jump to search
(Created page with "C:\ProgramData\ssh\sshd_config ``` SyslogFacility LOCAL0 LogLevel Debug3 ```") |
|||
Line 3: | Line 3: | ||
SyslogFacility LOCAL0 | SyslogFacility LOCAL0 | ||
LogLevel Debug3 | LogLevel Debug3 | ||
+ | ``` | ||
+ | |||
+ | |||
+ | ``` | ||
+ | restart-serivce sshd | ||
+ | Get-content "C:\ProgramData\ssh\logs\sshd.log" -wait -tail 3 | ||
``` | ``` |
Latest revision as of 15:45, 12 November 2023
C:\ProgramData\ssh\sshd_config
SyslogFacility LOCAL0 LogLevel Debug3
restart-serivce sshd Get-content "C:\ProgramData\ssh\logs\sshd.log" -wait -tail 3