X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=ssh-utils%2Fssh-pubkey.ps1;h=e86a858f07a6e5fdc446465bcf9062f4e0866da0;hb=894562bc0c2e40cfdc36ee3ca293a354a04786d0;hp=0951caa8de2ed7d073c1b150e4edbf77f24e33f2;hpb=2640e73b0fc34b63320482c8ab6c62d3fc881486;p=webi-installers%2F.git diff --git a/ssh-utils/ssh-pubkey.ps1 b/ssh-utils/ssh-pubkey.ps1 index 0951caa..e86a858 100644 --- a/ssh-utils/ssh-pubkey.ps1 +++ b/ssh-utils/ssh-pubkey.ps1 @@ -5,7 +5,7 @@ if (!(Test-Path -Path "$Env:USERPROFILE/.ssh")) { - New-Item -Path "$Env:USERPROFILE/.ssh" -ItemType Directory + New-Item -Path "$Env:USERPROFILE/.ssh" -ItemType Directory -Force | out-null #& icacls "$Env:USERPROFILE/.ssh" /inheritance:r #& icacls "$Env:USERPROFILE/.ssh" /grant:r "$Env:USERNAME":"(F)" }