-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
service ssh start failed! #734
Comments
i have this error too sudo service ssh start
sudo service ssh status
|
There is a good thread on running sshd over at #300. The punchline of the thread is: install with
At that point you can
You can ignore the upstart error in this case. After that you can SSH into the box:
|
i check list of services and i see this "SSH server proxy" in description "Part of Microsoft SSH Server for Windows" it's part of BashOnWindows? do i need it? and now service ssh from bash work |
@rivetweb -- for what it's worth, I'm not familiar with the "SSH server proxy" and "SSH server broker" services. I don't think I have either on my computer. Could they have been installed via some other means? |
idk :) maybe it's Windows Terminal Server part maybe other. |
@russalex I have tried this, But it is not worked for me.
|
A couple of things to try at this point:
Hope those help |
@russalex Thank you for your suggestion, I have tried this method, but it's still not worked. |
In my case the Windows Service (SSH Server Proxy) was using SSH port 22 on my computer. I had to switch my OpenSSH server port to something else for it to startup. I also had to use the settings recommended by @russalex as well. |
My computer also runs the SSH Server Broker and Proxy service automatically and occupies the port 22. I'm wondering why Windows start the SSH server automatically. First I don't need cmd CLI and second there are some security issues mentioned here: Windows 10 Insider: integrated SSH server. Does anyone know why it starts automatically? |
I'm really curious about this "SSH Server Broker" service -- it doesn't run by default on my computer; my computer doesn't even appear to have that service at all. Does anyone know where it comes from? |
@aseering I think it might be set as default to launch SSH service when your user account is a DevToolUser (not quite sure) or maybe just because some MS build-in tools or apps use it. |
Windows now has it's own SSH server as shown in the above posts. This ties up port 22. If you are having troubles, either disable the Windows server, or configure your linux SSH on an alternate port. There may be a way (I haven't investigated) to configure the Windows server to an alternate port. |
@LessPaul Thank you! Just this reason! I have changed the port to 2200, then it works! |
my case is it has no hotkeys, so just input |
Who can tell me how to start ssh server?
Think you!
The text was updated successfully, but these errors were encountered: