Skip to content

codespace ssh config fails to reference the auto-generated identity file #5877

@melink14

Description

@melink14

Describe the bug

A clear and concise description of what the bug is. Include version by typing gh --version.

Steps to reproduce the behavior

  1. gh cs ssh
  2. View the output
error getting ssh server details: failed to read public key file: open /home/espeed/.ssh/codespaces.pub: no such file or directory
  1. See error

Expected vs actual behavior

I would assume codepace ssh command would just work but it seems to expect a public key that doesn't exist. I'm not sure when or if that was supposed to be created previously as I only used gh to auth and then try to ssh (so I could use rsync)

I have a different key for github but it seems that doesn't seem configurable for codespace use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcodespacesp3Affects a small number of users or is largely cosmetic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions