2 instances of ssh

Jason Clifford jason at ukpost.com
Mon Sep 24 20:41:48 UTC 2007


On Mon, 24 Sep 2007, Jason Clifford wrote:

> No, I didn't check whether openssh (which I presume he is using) allows 
> the admin to specify a different PAM service name. It doesn't hence my 
> suggested solution was wrong.
> 
> He either needs to compile a second sshd with a customer service name 
> specified there or write an update to auth-pam.c to facilitate a new PAM 
> service name variable in the sshd_config file.

I'm wrong again.

There is an easy solution to this problem.

  ln -s /path/to/sshd /path/to/your-favorite-ssh-service-name

OpenSSH's sshd uses the basename of argv[0] as the service name, as you
would know if you were to read the INSTALL file that accompanies
OpenSSH-3.5p1.

This comes from http://marc.info/?l=openssh-unix-dev&m=104871124912817&w=2

Jason




More information about the Pam-list mailing list