Skip to content

Git "authenticity of host" prompt text is overwritten or moved out of view #472

Description

@Swanty

pnpm version:

v0.45.0

Code to reproduce the issue:

If you run pnpm install on machine where ssh known_hosts file is not yet written then you will get prompt that asks to confirm the authenticity of host for private git hosted package.

One solution that I use right now is just use pnpm install --silent and then I can see that there is such a prompt, but not always we remember to add --silent

Expected behavior:

Pause everything until user answers the prompt or somehow force to answer yes automatically?

Actual behavior:

This text is being overwritten and/or moved out of view:

The authenticity of host '[redacted]:7999 ([redacted]:7999)' can't be established.
RSA key fingerprint is SHA256:+redacted.
Are you sure you want to continue connecting (yes/no)? yes

Sometimes you would run pnpm install and wonder "why is it frozen and not doing anything?" when in reality user is expected to type yes or no, but if that text is overwritten then how do you know that there is a user input waiting unless you pay attention to the screen from start to end?

Additional information:

  • node -v prints:
    v4.6.1
  • Windows, OS X, or Linux?:
    Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions