Re: Remote port forwarding problem
Thomas Köller via openssh-unix-dev <[email protected]> Tue, 14 Apr 2026 11:51:36 +0200
| Newsgroups | gmane.network.openssh.devel |
|---|---|
| Message-ID | <[email protected]> |
You're right, of course. After thinking it through it almost becomes obvious. On 11.04.26 20:57, Brian Candler wrote: > On 11/04/2026 15:56, Thomas Köller via openssh-unix-dev wrote: >> The local system is running Fedora 43 with SELinux enabled. However, >> creating a file in /tmp should always work, and in fact ssh does not >> report an error accessing that location. So what is wrong here? > > I think that ssh expects the socket to already exist, with something > listening on it to accept the connection. It won't create it itself. > > Demo: > > (in window 1) > > % nc -lU /tmp/testing > > (in window 2) > > % ssh -R 1234:/tmp/testing cloud2 > > (in window 3) > > % telnet cloud2.example.com 1234 > hello > > (in window 1) I see "hello" appear. > > _______________________________________________ > openssh-unix-dev mailing list > [email protected] > https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev _______________________________________________ openssh-unix-dev mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev