curl:(52)通过ssh端口转发来自服务器的空回复

curl:(52)通过ssh端口转发来自服务器的空回复,curl,portforwarding,ssh-tunnel,Curl,Portforwarding,Ssh Tunnel,我有一个chrome远程调试服务器运行在我的家用电脑上,我想从我的公共服务器访问它 我已经创建了一个从服务器到家用电脑的反向ssh隧道。 我做了ssh端口转发,如下所示: ssh -L 9222:localhost:9222 user@localhost -p <SSH_PORT> -N 如何解决此问题?sshd服务器无法从chrome服务器读取数据,因为套接字在打开时出错 我面临的问题是https://github.com/PowerShell/Win32-OpenSSH/i

我有一个chrome远程调试服务器运行在我的家用电脑上,我想从我的公共服务器访问它

我已经创建了一个从服务器到家用电脑的反向ssh隧道。 我做了ssh端口转发,如下所示:

ssh  -L 9222:localhost:9222 user@localhost -p <SSH_PORT> -N 

如何解决此问题?

sshd服务器无法从chrome服务器读取数据,因为套接字在打开时出错

我面临的问题是https://github.com/PowerShell/Win32-OpenSSH/issues/414 具有https://github.com/PowerShell/Win32-OpenSSH/issues/244#issuecomment-239071490作为修复

$ curl http://localhost:9222 -v
* Rebuilt URL to: http://localhost:9222/
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 9222 (#0)
> GET / HTTP/1.1
> Host: localhost:9222
> User-Agent: curl/7.61.1
> Accept: */*
>
* Empty reply from server
* Connection #0 to host localhost left intact
curl: (52) Empty reply from server