search for: ldummyus

Displaying 1 result from an estimated 1 matches for "ldummyus".

Did you mean: dummys
2011 Oct 08
2
Detect PID of sshd processes used by one public key; detect -R allocated port on the server
...127.0.0.1:7" ssh-rsa AAAAB....vnRWxcgaK9xXoU= client1234 at example.com [the permitopen stanza just disables -L forwarding by only enabling a forwarding to a port that will always refuse connections. Ignore this.] and the ssh line from the client looks like this: ssh -R0:127.0.0.1:1234 -N -ldummyuser central.example.org Allocated port 54403 for remote forward to 127.0.0.1:1234 Now, ssh -R with a 0 port option allocates a remote port, which is what I want to do, as I have lots and lots of these clients. It tells the /client/ what port it has allocated, but I want to know on the /server/ what...