Displaying 1 result from an estimated 1 matches for "ssh_remot".
Did you mean:
ssh_remote
2002 Nov 24
1
[PATCH] PamServiceNameAppend
...r SSHd on the server with another config file,
listening on another port, and instead of forwarding incoming
connections on the gateway to TCP:22, I forward them to TCP:theotherport
and it's fine.
Now, one step further : I use pam on the server, and would like to use
/etc/pam.d/ssh_remote as the pam config-file for the second instance of
sshd and continue to use /etc/pam.d/ssh for the first one.
It comes down to change the "service_name" parameter of pam_start() for
the second daemon. I had a look in the source and SSHD_PAM_SERVICE is a
constant. I could of course...