Skip to content

Could not resolve hostname #7

@schwiet

Description

@schwiet

I'm running exactly your second example (substituting my own key and repo) and hitting this error:

ssh: Could not resolve hostname github.com:myorganization: Name or service not known

my key and known_hosts file appear fine, I can run

ssh -T git@github
and get
Hi schwiet! You've successfully authenticated, but GitHub does not provide shell access.

One thing, I noticed is that it seems the documented environment variable is GIT_SSH and not GIT_SSH_COMMAND, but unfortunately changing that did not resolve the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions