user permission fix to include ecdsa and ed25519 (#446)

Co-authored-by: Michael Trigg <mtrigg@crabel.com>
This commit is contained in:
Semicolon 2021-05-03 14:40:10 -05:00 committed by GitHub
parent 7e53747509
commit 5e5ed64743
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ if(Test-Path ~\.ssh\config -PathType Leaf)
Repair-UserSshConfigPermission -FilePath ~\.ssh\config @psBoundParameters
}
Get-ChildItem ~\.ssh\* -Include "id_rsa","id_dsa" -ErrorAction SilentlyContinue | % {
Get-ChildItem ~\.ssh\* -Include "id_rsa","id_dsa","id_ecdsa","id_ed25519" -ErrorAction SilentlyContinue | ForEach-Object {
Repair-UserKeyPermission -FilePath $_.FullName @psBoundParameters
}