forked from EricZimmerman/KapeFiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
Description: OpenSSH Server Config and Logs | ||
Author: Matt Dawson | ||
Version: 1.0 | ||
Id: 6c290fef-f9be-43af-a987-44709d8f7921 | ||
RecreateDirectories: True | ||
Targets: | ||
- | ||
Name: OpenSSH Server Config File | ||
Category: Apps | ||
Path: C:\ProgramData\ssh\ | ||
FileMask: 'sshd_config' | ||
Comment: "Config file can hold information on allowed/denied users" | ||
- | ||
Name: OpenSSH Server Logs | ||
Category: Apps | ||
Path: C:\ProgramData\ssh\logs\ | ||
FileMask: '*' | ||
Comment: "OpenSSH server logs" | ||
- | ||
Name: OpenSSH Host ECDSA Key | ||
Category: Apps | ||
Path: C:\ProgramData\ssh\ | ||
FileMask: 'ssh_host_ecdsa_key' | ||
Comment: "Retrieves the host ECDSA key" | ||
- | ||
Name: OpenSSH Host ED25519 Key | ||
Category: Apps | ||
Path: C:\ProgramData\ssh\ | ||
FileMask: 'ssh_host_ed25519_key' | ||
Comment: "Retrieves the host ED25519 key" | ||
- | ||
Name: OpenSSH Host DSA Key | ||
Category: Apps | ||
Path: C:\ProgramData\ssh\ | ||
FileMask: 'ssh_host_dsa_key' | ||
Comment: "Retrieves the host DSA key" | ||
- | ||
Name: OpenSSH Host RSA Key | ||
Category: Apps | ||
Path: C:\ProgramData\ssh\ | ||
FileMask: 'ssh_host_rsa_key' | ||
Comment: "Retrieves the host RSA key" | ||
- | ||
Name: OpenSSH User Authorized Keys | ||
Category: Apps | ||
Path: C:\Users\%user%\.ssh\ | ||
FileMask: 'authorized_keys' | ||
Comment: "Retrieves the user's authorised public keys" | ||
- | ||
Name: OpenSSH User Authorized Keys 2 | ||
Category: Apps | ||
Path: C:\Users\%user%\.ssh\ | ||
FileMask: 'authorized_keys2' | ||
Comment: "Retrieves the user's authorised public keys from the second file" | ||
- | ||
Name: OpenSSH Authorized Administrator Keys | ||
Category: Apps | ||
Path: C:\ProgramData\ssh\ | ||
FileMask: 'administrators_authorized_keys ' | ||
Comment: "Retrieves the administrator group's authorised public keys" | ||
|
||
# Documentation | ||
# https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_server_configuration |