Skip to content

Commit eda851e

Browse files
authored
Merge pull request #348 from wesmcouch/patch-1
Allow powershell script to be ran from any location and update to pow…
2 parents 68250e4 + 33a20fe commit eda851e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/win32/openssh/install-sshlsa.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
copy .\ssh-lsa.dll $env:windir\system32
1+
Copy-Item -Path $PSScriptRoot\ssh-lsa.dll -Destination "$env:windir\system32"
22
$subkey = 'SYSTEM\CurrentControlSet\Control\Lsa'
33
$value = 'Authentication Packages'
44
$reg = [Microsoft.Win32.RegistryKey]::OpenBaseKey('LocalMachine', 0)

0 commit comments

Comments
 (0)