Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

Terminal GUI overlaps with SSH passphrase or Codespace password dialog hence not possible to connect #9

Open
@legomushroom

Description

@legomushroom
Member

image

🔨 Workaround

Add private SSH key to ssh agent, as suggested in Generating a new SSH key and adding it to the ssh-agent:

ssh-add -K ~/.ssh/id_ed25519

Debugging

If this still does not solve the issue, try connection to that Codespace with SSH, what do you see?

sudo gh cs ssh

Do you have the ~/.ssh/config file that references correct identify file?

Host *
    AddKeysToAgent yes
    UseKeychain yes
    IdentityFile ~/.ssh/id_ed25519

Alternative solution - try disabling extension GUI with the --gui option. This will prevent the terminal GUI from colliding with input dialog:

sudo gh net start --gui false

Want to delete all SSH keys and passphrases?

Keys:

ssh-add -D

Passpharases:

image

  1. Open Keychain Access app.
  2. Search for ssh, delete appropriate SSH passphrase entries.

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @legomushroom

      Issue actions

        Terminal GUI overlaps with SSH passphrase or Codespace password dialog hence not possible to connect · Issue #9 · github/gh-net