VishalDevgire
VishalDevgire

Reputation: 4268

How to configure MULE SSH connector to authenticate against PAM

I have PAM configured PAM for SSH server on my linux.

While authenticating it prompts for two things:

Password:    
Verification Code:

I am currently using username and password based authentication on Mule side. How can I change it to incorporate Verification Code also.

Following is the code for my Mule-SSH connector:

 <ssh:connector name="%Endpoint%.connector" host="%Host%" kexTimeout="%Timeout%" port="%Port%" loginId="%Login%"
                   password="%Password%">
        <dispatcher-threading-profile doThreading="false"/>
 </ssh:connector>

Upvotes: 0

Views: 174

Answers (1)

V&#237;ctor Romero
V&#237;ctor Romero

Reputation: 5115

For what I can see in the authentication code in the connector, you can't. The library behind the connector is sshj, if you find a way to do so feel free to raise a ticket or send a pull request.

Upvotes: 1

Related Questions