Skip to content

none of the client executables accept "Ctrl+c" and "backspace" while feeding a password #5

Closed

Description

Issue observed with ssh.exe (while feeding password) and ssh-keygen.exe (while feeding paraphrase)

Ex.
C:\openssh>ssh-keygen.exe -t rsa -f id_rsa
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase): **************

When asked to enter passphrase, try Ctrl+C or backspace

Activity

  1. changed the title [-]none of the client executable accept "Ctrl+c" and "backspace" while feeding a password[/-] [+]none of the client executables accept "Ctrl+c" and "backspace" while feeding a password[/+] on Oct 8, 2015
  2. quamrulmina commented on Oct 10, 2015

    @quamrulmina
    Contributor

    Control-Break works instead of Control-C to get out of session, we will try to fix it to accept control-c for exiting like in openssh Linux.
    But we tested backspace processing to work in ssh.exe client during password typing or giving passphrase. ssk-keygen.exe backspace processing also works when giving passphrase. Can you kindly retest your scenario with the latest binaries. Control-C is a problem but backspace should not be.

  3. manojampalam commented on Oct 13, 2015

    @manojampalam
    ContributorAuthor

    Tested on latest binaries. backspace does work but does not reflect on the input password mask (I'm testing on Windows 10) - i.e the "*"s do not get deleted on a backspace stroke. This is not a pressing issue and we can take care of this later.

  4. markhaehnel commented on Oct 20, 2015

    @markhaehnel

    There shouldn't be any "*" when entering a password.

  5. quamrulmina commented on Oct 21, 2015

    @quamrulmina
    Contributor

    Fixed it and checked in the code. Great suggestions – Linux/Unix openssh works the same way – no “*” feedback in password or passphrase.
    Thanks. Quamrul Mina.
    From: Mark Hähnel [mailto:notifications@github.com]
    Sent: Tuesday, October 20, 2015 1:55 AM
    To: PowerShell/Win32-OpenSSH
    Cc: Quamrul Mina
    Subject: Re: [Win32-OpenSSH] none of the client executables accept "Ctrl+c" and "backspace" while feeding a password (#5)

    There shouldn't be any "*" when entering a password.

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-149454658.

  6. quamrulmina commented on Oct 29, 2015

    @quamrulmina
    Contributor

    Fixed in L1 branch. Control-c is now sent to the sshd server and will not terminate ssh.exe client itself. To terminate or abandon client, type Control-break. Backspace also now works when typing password.

  7. manojampalam commented on Nov 11, 2015

    @manojampalam
    ContributorAuthor

    The latest release should have this fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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