Re: Remote port forwarding problem

Brian Candler <[email protected]> Sat, 11 Apr 2026 19:57:39 +0100
Newsgroups gmane.network.openssh.devel
Message-ID <[email protected]>
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