[ 
https://issues.apache.org/jira/browse/SSHD-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14679226#comment-14679226
 ] 

VENKATA DIGAVALLI commented on SSHD-549:
----------------------------------------

I am using the example provided here 
"http://grepcode.com/file/repo1.maven.org/maven2/org.apache.sshd/sshd-core/0.9.0/org/apache/sshd/server/auth/UserAuthKeyboardInteractive.java";
 and trying to build the class "MyUserAuthKeyboardInteractiveFactory" for 
implementing the custom password prompt. But getting the error at the below 
statement:

"buffer = 
session.createBuffer(SshConstants.Message.SSH_MSG_USERAUTH_INFO_REQUEST, 0);"

"Message" does not seem to be recognized as a valid parameter. Can you please 
help me on why this is the case.

> Need to Change the password prompt
> ----------------------------------
>
>                 Key: SSHD-549
>                 URL: https://issues.apache.org/jira/browse/SSHD-549
>             Project: MINA SSHD
>          Issue Type: Test
>            Reporter: VENKATA DIGAVALLI
>
> Hi,
> I created the SSH server using Mina 2.0.7 libraries. During the login, the 
> client application is looking for the text "Password:" and the SSH server 
> handler seems to be sending back the prompt like "username@hostname 
> passsword:". 
> I believe this password prompt is picked from the sshd_config file on the 
> linux server where this SSH server is running. Tried changing that config 
> file, but still don't see any change in the password prompt text. 
> This is causing a failure during login. Please let me know if there is any 
> method in sshd libraries or any other solution I can use to override this 
> password prompt during login.
> Thanks,
> Venkata Digavalli



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to