Displaying 1 result from an estimated 1 matches for "vnrwxcgak9xxou".
2011 Oct 08
2
Detect PID of sshd processes used by one public key; detect -R allocated port on the server
...lients ssh to
a host I control, each ssh'ing in as the same user, and each forwarding
a remote port back to them.
So, the authorized_keys file looks like:
no-agent-forwarding,command="/bin/true",no-pty,no-user-rc,no-X11-forwarding,permitopen="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 5440...