2 instances of ssh

J Adams pacetownsley at gmail.com
Mon Sep 24 20:21:09 UTC 2007


On 9/24/07, Jason Clifford <jason at ukpost.com> wrote:
>
> On Mon, 24 Sep 2007, J Adams wrote:
>
> > I want to run two instances of sshd, one that authenticates against
> > system accounts and another that uses radius. How do I tell Pam which
> > conf file to use for two instances of the same service? Is that
> > possible, or do I have to run one instance and one file that checks both
> > places? If it's the latter, how do I do that ("sufficient" doesn't
> > always seem to behave as I'd expect.)? Help is greatly appreciated.
>
> You just need to run sshd specifying the configuration file it should use
> with the -f flag.
>
> Jason


Thanks, but I'm a little confused. Maybe I'm not understanding your answer
or might be that I wasn't very clear to begin with.

What I want is to have two instances of sshd that both use Pam, but have Pam
use a different config file for each.
How do I use sshd_config to tell pam which config file to read?

_______________________________________________
> Pam-list mailing list
> Pam-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pam-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pam-list/attachments/20070924/2983cdf4/attachment.htm>


More information about the Pam-list mailing list