Skip to content

Commit

Permalink
Added OpenSSHServer.tkape
Browse files Browse the repository at this point in the history
  • Loading branch information
mdawsonuk authored Jan 8, 2021
1 parent 80ed64e commit f6d2508
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions Targets/Apps/OpenSSHServer.tkape
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

0 comments on commit f6d2508

Please sign in to comment.