Giter Club home page Giter Club logo

Comments (3)

MakiseKurisu avatar MakiseKurisu commented on June 29, 2024

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.

from wsl.

vivimice avatar vivimice commented on June 29, 2024

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!

from wsl.

bitcrazed avatar bitcrazed commented on June 29, 2024

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

from wsl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.