Comments (3)
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.
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.
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)
- Netsh portproxy snippet unclear when forwarding traffic into WSL 2
- wsl subcommand has been removed. HOT 1
- Documentation not updated for usbipd-win 4.0.0
- Additional info for "No internet access" sections in troubleshooting guide
- Google-chrome fails to install 404 file access HOT 1
- Documentation incorrect for usbipd 4.0.0
- update error HOT 1
- The 'Advanced settings configuration' HOT 1
- ICP-Canister HOT 1
- "Attach a USB device" guide out of date HOT 2
- Attach a USB Device Instructions are outdated and do not work HOT 1
- Read-only file system unable to fix. HOT 1
- Need clarification on filesystems supported by WSL HOT 2
- WSL1/WSL2 comparison table not correct - WSL1 does support IPv6
- Remove the "Debugger for Chrome" resource. It's deprecated HOT 1
- Old usbipd syntax HOT 1
- Update usbipd command HOT 1
- Connect USB devices commands are wrong HOT 1
- WSL and usbipd-win documentation out of date for latest usbipd-win version HOT 1
- Indicate required Linux kernel version for USBIPD HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsl.