Skip to content

netopeer2-cli hangs when yes/no is not given when prompted #769

@DineshReddyK

Description

@DineshReddyK

Hi,
when listen is initiated, it prompts user to supply yes/no for the host key verification part.
If user enters y or any characters other than yes/no it hangs for ever.

After multiple enters, if we supply yes it works, but there is unwanted message it prints (Please type 'yes' or 'no':)

> listen
Waiting 60s for an SSH Call Home connection on port 4334...
The authenticity of the host '::ffff:127.0.0.1' cannot be established.
ssh-rsa key fingerprint is 27:b6:38:df:94:24:d1:9b:16:53:01:5b:ed:c9:05:6a:39:0c:e0:b2.
Are you sure you want to continue connecting (yes/no)? y



^C
[root@fedora /]# netopeer2-cli

# netopeer2-cli
> listen
Waiting 60s for an SSH Call Home connection on port 4334...
The authenticity of the host '::ffff:127.0.0.1' cannot be established.
ssh-rsa key fingerprint is 27:b6:38:df:94:24:d1:9b:16:53:01:5b:ed:c9:05:6a:39:0c:e0:b2.
Are you sure you want to continue connecting (yes/no)? y


yes
Please type 'yes' or 'no': root@::ffff:127.0.0.1 password:
Interactive SSH Authentication
Type your password:
Password:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions