The Computer Oracle

Windows Subsystem for Linux & SSH Port Forwarding

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Magic Ocean Looping

--

Chapters
00:00 Windows Subsystem For Linux &Amp; Ssh Port Forwarding
00:38 Accepted Answer Score 16
00:59 Thank you

--

Full question
https://superuser.com/questions/1119946/...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#bash #ssh #portforwarding #windows10v1607 #windowssubsystemforlinux

#avk47



ACCEPTED ANSWER

Score 16


Self answer: See this bug. The following works:

ssh -L 127.0.0.1:5432:localhost:5432 me@host

The problem is that IPv6 doesn't work in WSL and the failure flows through to the IPv4 port forwarding.