Skip to content

Display an error message on password failure for ssh remoting ("access denied") #21700

@pacjo

Description

@pacjo

Summary

Currently there is very little feedback presented when password authentication fails. It would be nice if there was so on-screen indicator of failure and/or a CAPS LOCK indicator.

Description

Hi, I just re-typed my password 4 times before noticing I had my caps-lock on.

Steps to reproduce:

  1. Have an ssh host with password authentication enabled (even localhost)
  2. run zed ssh://oopsie@localhost
  3. Type in a password

Actual behavior: Same prompt shows again, no indication of failure

Desired behavior: Message for failure (ssh command-line shows "Permission denied").

Bonus; a caps-lock indicator if possible would go a long way to prevent this.

Environment

Zed: v0.164.2 (Zed)
OS: Linux Wayland nixos 25.05
Memory: 15.5 GiB
Architecture: x86_64
GPU: AMD Radeon RX 580 Series (RADV POLARIS10) || radv || Mesa 24.2.6

Screenshot

as unhelpful and ugly as it is...

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueIssue suitable for first-time contributorssshRemote development, SSH and zed-remote-server

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions