Getting “System error 1067” when installing OpenSSH on Windows 7 machine
up vote
1
down vote
favorite
I try to install this OpenSSH package on windows 7. I have followed these instruction and all passed succesfully.
I have looked into this answer but it is not clear what exactly was done to solve the problem.
I had a problem where I couldn't generate a key with
C:Program FilesOpenSSH-Win32>.ssh-keygen.exe -A
ssh-keygen: generating new host keys: RSA Could not save your public key in __PR
OGRAMDATA__\ssh/ssh_host_rsa_key.sxfSDOzypn: No such file or directory
ssh-keygen: generating new host keys: DSA Could not save your public key in __PR
OGRAMDATA__\ssh/ssh_host_dsa_key.juOzEtM1FK: No such file or directory
ssh-keygen: generating new host keys: ECDSA Could not save your public key in __
PROGRAMDATA__\ssh/ssh_host_ecdsa_key.GJzXzpQzfK: No such file or directory
ssh-keygen: generating new host keys: ED25519 Could not save your public key in
__PROGRAMDATA__\ssh/ssh_host_ed25519_key.R26XZMokWU: No such file or directory
the solution I found here. I had to create a folder in C:ProgramDatassh
my Windows OS is Windows 7 32bit and I am using OpenSSH-32bit
When I try this command
C:Program FilesOpenSSH>net start sshd
I get this error:
The SSHD service is starting. The SSHD service could not be started.
A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.
What could be the problem? Also, I don't see the sshd process in services.
windows-7 ssh openssh
add a comment |
up vote
1
down vote
favorite
I try to install this OpenSSH package on windows 7. I have followed these instruction and all passed succesfully.
I have looked into this answer but it is not clear what exactly was done to solve the problem.
I had a problem where I couldn't generate a key with
C:Program FilesOpenSSH-Win32>.ssh-keygen.exe -A
ssh-keygen: generating new host keys: RSA Could not save your public key in __PR
OGRAMDATA__\ssh/ssh_host_rsa_key.sxfSDOzypn: No such file or directory
ssh-keygen: generating new host keys: DSA Could not save your public key in __PR
OGRAMDATA__\ssh/ssh_host_dsa_key.juOzEtM1FK: No such file or directory
ssh-keygen: generating new host keys: ECDSA Could not save your public key in __
PROGRAMDATA__\ssh/ssh_host_ecdsa_key.GJzXzpQzfK: No such file or directory
ssh-keygen: generating new host keys: ED25519 Could not save your public key in
__PROGRAMDATA__\ssh/ssh_host_ed25519_key.R26XZMokWU: No such file or directory
the solution I found here. I had to create a folder in C:ProgramDatassh
my Windows OS is Windows 7 32bit and I am using OpenSSH-32bit
When I try this command
C:Program FilesOpenSSH>net start sshd
I get this error:
The SSHD service is starting. The SSHD service could not be started.
A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.
What could be the problem? Also, I don't see the sshd process in services.
windows-7 ssh openssh
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I try to install this OpenSSH package on windows 7. I have followed these instruction and all passed succesfully.
I have looked into this answer but it is not clear what exactly was done to solve the problem.
I had a problem where I couldn't generate a key with
C:Program FilesOpenSSH-Win32>.ssh-keygen.exe -A
ssh-keygen: generating new host keys: RSA Could not save your public key in __PR
OGRAMDATA__\ssh/ssh_host_rsa_key.sxfSDOzypn: No such file or directory
ssh-keygen: generating new host keys: DSA Could not save your public key in __PR
OGRAMDATA__\ssh/ssh_host_dsa_key.juOzEtM1FK: No such file or directory
ssh-keygen: generating new host keys: ECDSA Could not save your public key in __
PROGRAMDATA__\ssh/ssh_host_ecdsa_key.GJzXzpQzfK: No such file or directory
ssh-keygen: generating new host keys: ED25519 Could not save your public key in
__PROGRAMDATA__\ssh/ssh_host_ed25519_key.R26XZMokWU: No such file or directory
the solution I found here. I had to create a folder in C:ProgramDatassh
my Windows OS is Windows 7 32bit and I am using OpenSSH-32bit
When I try this command
C:Program FilesOpenSSH>net start sshd
I get this error:
The SSHD service is starting. The SSHD service could not be started.
A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.
What could be the problem? Also, I don't see the sshd process in services.
windows-7 ssh openssh
I try to install this OpenSSH package on windows 7. I have followed these instruction and all passed succesfully.
I have looked into this answer but it is not clear what exactly was done to solve the problem.
I had a problem where I couldn't generate a key with
C:Program FilesOpenSSH-Win32>.ssh-keygen.exe -A
ssh-keygen: generating new host keys: RSA Could not save your public key in __PR
OGRAMDATA__\ssh/ssh_host_rsa_key.sxfSDOzypn: No such file or directory
ssh-keygen: generating new host keys: DSA Could not save your public key in __PR
OGRAMDATA__\ssh/ssh_host_dsa_key.juOzEtM1FK: No such file or directory
ssh-keygen: generating new host keys: ECDSA Could not save your public key in __
PROGRAMDATA__\ssh/ssh_host_ecdsa_key.GJzXzpQzfK: No such file or directory
ssh-keygen: generating new host keys: ED25519 Could not save your public key in
__PROGRAMDATA__\ssh/ssh_host_ed25519_key.R26XZMokWU: No such file or directory
the solution I found here. I had to create a folder in C:ProgramDatassh
my Windows OS is Windows 7 32bit and I am using OpenSSH-32bit
When I try this command
C:Program FilesOpenSSH>net start sshd
I get this error:
The SSHD service is starting. The SSHD service could not be started.
A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.
What could be the problem? Also, I don't see the sshd process in services.
windows-7 ssh openssh
windows-7 ssh openssh
edited Nov 19 at 21:57
asked Nov 19 at 18:53
Valentyn
195
195
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
I think you have found the right instructions for installing OpenSSH and
the right workaround.
The missing piece described in the answer you found is that step #3 and
all following steps must be run within the folder C:Program FilesOpenSSH
.
The cd
command in that answer you found is just:
cd "C:Program FilesOpenSSH"
This same problem is described in the bug report
Getting “System error 1067” when installing OpenSSH, where it is claimed that the cd
was added to
the installation instructions, although I cannot see any trace of it.
(I cannot test because I don't use OpenSSH, but hope that this will help in solving the problem.)
Your problem might be the same as described in the bug report
.ssh-keygen -A is broken, cannot make host keys,
where the solution was:
you must manually go to
C:ProgramData
and create a folder namedssh
There is just this inconsistency that the developer in that bug report claims
that starting the service will create this folder, which doesn't
happen in your case.
There is also the question of what is your operating system.
If it's 64-bit Windows, you should have installed the 64-bit version,
and the installation folder would have been C:Program FilesOpenSSH-Win64
.
And are you executing everything inside a PowerShell session?
Note that for Windows 10, OpenSSH is directly available as an optional feature
which might work better than a third-party package.
Go to Settings > Apps > Manage optional features and add "OpenSSH client".
It installs to C:WindowsSystem32OpenSSH
(and is added to PATH).
Uninstall first your version.
I did run net start sshd in the C:/Program Files/OpenSSH. I just have edited my question to provide clarity.
– Valentyn
Nov 19 at 20:42
I added another possibility.
– harrymc
Nov 19 at 21:44
I have created C:ProgramDatassh folder to solve another problem and I am using OpenSSH-32bit for 32bit Windows 7 OS.
– Valentyn
Nov 19 at 21:58
Did creating the folder change anything with the service start?
– harrymc
Nov 19 at 22:37
I have done all of those things before as the instructions told me. It seems I have done everything correctly but it doesn't work.
– Valentyn
Nov 19 at 23:00
|
show 3 more comments
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
I think you have found the right instructions for installing OpenSSH and
the right workaround.
The missing piece described in the answer you found is that step #3 and
all following steps must be run within the folder C:Program FilesOpenSSH
.
The cd
command in that answer you found is just:
cd "C:Program FilesOpenSSH"
This same problem is described in the bug report
Getting “System error 1067” when installing OpenSSH, where it is claimed that the cd
was added to
the installation instructions, although I cannot see any trace of it.
(I cannot test because I don't use OpenSSH, but hope that this will help in solving the problem.)
Your problem might be the same as described in the bug report
.ssh-keygen -A is broken, cannot make host keys,
where the solution was:
you must manually go to
C:ProgramData
and create a folder namedssh
There is just this inconsistency that the developer in that bug report claims
that starting the service will create this folder, which doesn't
happen in your case.
There is also the question of what is your operating system.
If it's 64-bit Windows, you should have installed the 64-bit version,
and the installation folder would have been C:Program FilesOpenSSH-Win64
.
And are you executing everything inside a PowerShell session?
Note that for Windows 10, OpenSSH is directly available as an optional feature
which might work better than a third-party package.
Go to Settings > Apps > Manage optional features and add "OpenSSH client".
It installs to C:WindowsSystem32OpenSSH
(and is added to PATH).
Uninstall first your version.
I did run net start sshd in the C:/Program Files/OpenSSH. I just have edited my question to provide clarity.
– Valentyn
Nov 19 at 20:42
I added another possibility.
– harrymc
Nov 19 at 21:44
I have created C:ProgramDatassh folder to solve another problem and I am using OpenSSH-32bit for 32bit Windows 7 OS.
– Valentyn
Nov 19 at 21:58
Did creating the folder change anything with the service start?
– harrymc
Nov 19 at 22:37
I have done all of those things before as the instructions told me. It seems I have done everything correctly but it doesn't work.
– Valentyn
Nov 19 at 23:00
|
show 3 more comments
up vote
1
down vote
accepted
I think you have found the right instructions for installing OpenSSH and
the right workaround.
The missing piece described in the answer you found is that step #3 and
all following steps must be run within the folder C:Program FilesOpenSSH
.
The cd
command in that answer you found is just:
cd "C:Program FilesOpenSSH"
This same problem is described in the bug report
Getting “System error 1067” when installing OpenSSH, where it is claimed that the cd
was added to
the installation instructions, although I cannot see any trace of it.
(I cannot test because I don't use OpenSSH, but hope that this will help in solving the problem.)
Your problem might be the same as described in the bug report
.ssh-keygen -A is broken, cannot make host keys,
where the solution was:
you must manually go to
C:ProgramData
and create a folder namedssh
There is just this inconsistency that the developer in that bug report claims
that starting the service will create this folder, which doesn't
happen in your case.
There is also the question of what is your operating system.
If it's 64-bit Windows, you should have installed the 64-bit version,
and the installation folder would have been C:Program FilesOpenSSH-Win64
.
And are you executing everything inside a PowerShell session?
Note that for Windows 10, OpenSSH is directly available as an optional feature
which might work better than a third-party package.
Go to Settings > Apps > Manage optional features and add "OpenSSH client".
It installs to C:WindowsSystem32OpenSSH
(and is added to PATH).
Uninstall first your version.
I did run net start sshd in the C:/Program Files/OpenSSH. I just have edited my question to provide clarity.
– Valentyn
Nov 19 at 20:42
I added another possibility.
– harrymc
Nov 19 at 21:44
I have created C:ProgramDatassh folder to solve another problem and I am using OpenSSH-32bit for 32bit Windows 7 OS.
– Valentyn
Nov 19 at 21:58
Did creating the folder change anything with the service start?
– harrymc
Nov 19 at 22:37
I have done all of those things before as the instructions told me. It seems I have done everything correctly but it doesn't work.
– Valentyn
Nov 19 at 23:00
|
show 3 more comments
up vote
1
down vote
accepted
up vote
1
down vote
accepted
I think you have found the right instructions for installing OpenSSH and
the right workaround.
The missing piece described in the answer you found is that step #3 and
all following steps must be run within the folder C:Program FilesOpenSSH
.
The cd
command in that answer you found is just:
cd "C:Program FilesOpenSSH"
This same problem is described in the bug report
Getting “System error 1067” when installing OpenSSH, where it is claimed that the cd
was added to
the installation instructions, although I cannot see any trace of it.
(I cannot test because I don't use OpenSSH, but hope that this will help in solving the problem.)
Your problem might be the same as described in the bug report
.ssh-keygen -A is broken, cannot make host keys,
where the solution was:
you must manually go to
C:ProgramData
and create a folder namedssh
There is just this inconsistency that the developer in that bug report claims
that starting the service will create this folder, which doesn't
happen in your case.
There is also the question of what is your operating system.
If it's 64-bit Windows, you should have installed the 64-bit version,
and the installation folder would have been C:Program FilesOpenSSH-Win64
.
And are you executing everything inside a PowerShell session?
Note that for Windows 10, OpenSSH is directly available as an optional feature
which might work better than a third-party package.
Go to Settings > Apps > Manage optional features and add "OpenSSH client".
It installs to C:WindowsSystem32OpenSSH
(and is added to PATH).
Uninstall first your version.
I think you have found the right instructions for installing OpenSSH and
the right workaround.
The missing piece described in the answer you found is that step #3 and
all following steps must be run within the folder C:Program FilesOpenSSH
.
The cd
command in that answer you found is just:
cd "C:Program FilesOpenSSH"
This same problem is described in the bug report
Getting “System error 1067” when installing OpenSSH, where it is claimed that the cd
was added to
the installation instructions, although I cannot see any trace of it.
(I cannot test because I don't use OpenSSH, but hope that this will help in solving the problem.)
Your problem might be the same as described in the bug report
.ssh-keygen -A is broken, cannot make host keys,
where the solution was:
you must manually go to
C:ProgramData
and create a folder namedssh
There is just this inconsistency that the developer in that bug report claims
that starting the service will create this folder, which doesn't
happen in your case.
There is also the question of what is your operating system.
If it's 64-bit Windows, you should have installed the 64-bit version,
and the installation folder would have been C:Program FilesOpenSSH-Win64
.
And are you executing everything inside a PowerShell session?
Note that for Windows 10, OpenSSH is directly available as an optional feature
which might work better than a third-party package.
Go to Settings > Apps > Manage optional features and add "OpenSSH client".
It installs to C:WindowsSystem32OpenSSH
(and is added to PATH).
Uninstall first your version.
edited Nov 24 at 7:11
answered Nov 19 at 20:05
harrymc
248k10257549
248k10257549
I did run net start sshd in the C:/Program Files/OpenSSH. I just have edited my question to provide clarity.
– Valentyn
Nov 19 at 20:42
I added another possibility.
– harrymc
Nov 19 at 21:44
I have created C:ProgramDatassh folder to solve another problem and I am using OpenSSH-32bit for 32bit Windows 7 OS.
– Valentyn
Nov 19 at 21:58
Did creating the folder change anything with the service start?
– harrymc
Nov 19 at 22:37
I have done all of those things before as the instructions told me. It seems I have done everything correctly but it doesn't work.
– Valentyn
Nov 19 at 23:00
|
show 3 more comments
I did run net start sshd in the C:/Program Files/OpenSSH. I just have edited my question to provide clarity.
– Valentyn
Nov 19 at 20:42
I added another possibility.
– harrymc
Nov 19 at 21:44
I have created C:ProgramDatassh folder to solve another problem and I am using OpenSSH-32bit for 32bit Windows 7 OS.
– Valentyn
Nov 19 at 21:58
Did creating the folder change anything with the service start?
– harrymc
Nov 19 at 22:37
I have done all of those things before as the instructions told me. It seems I have done everything correctly but it doesn't work.
– Valentyn
Nov 19 at 23:00
I did run net start sshd in the C:/Program Files/OpenSSH. I just have edited my question to provide clarity.
– Valentyn
Nov 19 at 20:42
I did run net start sshd in the C:/Program Files/OpenSSH. I just have edited my question to provide clarity.
– Valentyn
Nov 19 at 20:42
I added another possibility.
– harrymc
Nov 19 at 21:44
I added another possibility.
– harrymc
Nov 19 at 21:44
I have created C:ProgramDatassh folder to solve another problem and I am using OpenSSH-32bit for 32bit Windows 7 OS.
– Valentyn
Nov 19 at 21:58
I have created C:ProgramDatassh folder to solve another problem and I am using OpenSSH-32bit for 32bit Windows 7 OS.
– Valentyn
Nov 19 at 21:58
Did creating the folder change anything with the service start?
– harrymc
Nov 19 at 22:37
Did creating the folder change anything with the service start?
– harrymc
Nov 19 at 22:37
I have done all of those things before as the instructions told me. It seems I have done everything correctly but it doesn't work.
– Valentyn
Nov 19 at 23:00
I have done all of those things before as the instructions told me. It seems I have done everything correctly but it doesn't work.
– Valentyn
Nov 19 at 23:00
|
show 3 more comments
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376767%2fgetting-system-error-1067-when-installing-openssh-on-windows-7-machine%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown