You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Cheung (Jira)" <ji...@apache.org> on 2022/07/03 10:18:00 UTC

[jira] [Created] (SSHD-1274) UserInteraction Problem

Cheung created SSHD-1274:
----------------------------

             Summary: UserInteraction Problem
                 Key: SSHD-1274
                 URL: https://issues.apache.org/jira/browse/SSHD-1274
             Project: MINA SSHD
          Issue Type: Question
    Affects Versions: 2.8.0
            Reporter: Cheung
             Fix For: 2.8.0


I used the sshd client。 I need to change my password when I logged in for the first time,the interaction is success in xshell。There are three complete interactions:

1.Enter a new password

2.Confirm new password

3.connected and enter the service

But when i use sshd clent, i just can received first time interactive from service。i use the org.apache.sshd.client.auth.keyboard.UserInteraction#interactive to received prompt from service。The clientSession connect is success,but authFure done is false and the opeFuture of shellChannel is false。

I try to read byte of passowrd to shellChannel‘s inputStream,it's not work。

How can i send the newPassword to service and received interactive from service after first time。

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org