Skip to content
This repository has been 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 opened this issue Apr 27, 2022 · 0 comments

Comments

@legomushroom
Copy link
Member

legomushroom commented Apr 27, 2022

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.
@legomushroom legomushroom added bug Something isn't working mac-osx known-issue labels Apr 27, 2022
@legomushroom legomushroom self-assigned this Apr 27, 2022
@legomushroom legomushroom removed the bug Something isn't working label Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant