|
|
@ -9,6 +9,7 @@ def install(): |
|
|
|
mkdirs(makepath(programfiles,'OpenSSH')) |
|
|
|
mkdirs(makepath(programfiles,'OpenSSH')) |
|
|
|
print(' Stoping the service') |
|
|
|
print(' Stoping the service') |
|
|
|
run_notfatal(r'sc stop sshd') |
|
|
|
run_notfatal(r'sc stop sshd') |
|
|
|
|
|
|
|
killalltasks('sshd.exe') |
|
|
|
print(' Extract OpenSSH archive') |
|
|
|
print(' Extract OpenSSH archive') |
|
|
|
run('"%s" e -y -o"%s" OpenSSH-Win%s.zip' % (makepath(programfiles,'7-Zip','7z.exe'),makepath(programfiles,'OpenSSH'),'64' if iswin64() else '32')) |
|
|
|
run('"%s" e -y -o"%s" OpenSSH-Win%s.zip' % (makepath(programfiles,'7-Zip','7z.exe'),makepath(programfiles,'OpenSSH'),'64' if iswin64() else '32')) |
|
|
|
print(' Installing the service') |
|
|
|
print(' Installing the service') |
|
|
|