Skip to content
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

Cannot start sshd server #17

Closed
vivimice opened this issue Apr 7, 2016 · 3 comments
Closed

Cannot start sshd server #17

vivimice opened this issue Apr 7, 2016 · 3 comments

Comments

@vivimice
Copy link

vivimice commented Apr 7, 2016

~# apt-get install ssh
~# /etc/init.d/ssh start
* /dev/null is not a character device!

And I cannot remove /dev/null and re-create with mknod

@MakiseKurisu
Copy link

As a workaround, you can use dropbear for ssh.

apt-get install dropbear
dropbear -F -p 2222

This will open ssh server at port 2222. -F option will keep dropbear running at foreground, otherwise it will be killed.

Edit: Nevermind, I cannot connect to dropbear.

@vivimice
Copy link
Author

vivimice commented Apr 8, 2016

root@localhost:~# ssh localhost -p 2222
root@localhost's password:
PTY allocation request failed on channel 0
shell request failed on channel 0

Seems step into that landmine:
http://blog.dustinkirkland.com/2016/03/ubuntu-on-windows.html

Is everything working exactly as expected? No, not quite. Not yet, at least. The vast majority of the LTP passes and works well. But there are some imperfections still, especially around tty's an the vt100. My beloved byobu, screen, and tmux don't quite work yet, but they're getting close!

@bitcrazed
Copy link
Contributor

Please note that openSSH now works as expected on WSL in Creators Update and later.

Also, please note that this repo's issue tracker is specifically for doc issues - issues with WSL itself can be posted to https://github.com/microsoft/bashonwindows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants