1
0
mirror of synced 2025-12-20 02:19:14 -05:00

Update doc on gh cs ssh SSH keys (#34100)

Co-authored-by: JP Ungaretti <19893438+jungaretti@users.noreply.github.com>
Co-authored-by: hubwriter <hubwriter@github.com>
This commit is contained in:
Caleb Brose
2023-01-23 08:56:19 -06:00
committed by GitHub
parent a20626b487
commit 61b53f0080

View File

@@ -125,9 +125,7 @@ gh codespace ssh -c CODESPACE-NAME
{% endnote %}
{% data variables.product.prodname_github_codespaces %} copies your GitHub SSH keys into the codespace on creation for a seamless authentication experience. You may be asked to enter the passphrase for your SSH key, after which you will get a command prompt from the remote codespace machine.
If you don't have any SSH keys, follow the instructions in "[Generating a new SSH key and adding it to the ssh-agent](/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)."
{% data variables.product.prodname_github_codespaces %} creates a local SSH key automatically to provide a seamless authentication experience. For more information on connecting with SSH, see [`gh codespace ssh`](https://cli.github.com/manual/gh_codespace_ssh).
### Open a codespace in {% data variables.product.prodname_vscode %}