GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remote URL cannot be accessed for git < 2.7 if SSH isn't working · Issue #694 · gitpython-developers/GitPython

Remote URL cannot be accessed for git < 2.7 if SSH isn't working #694

New issue
Copy link
New issue
Copy link
Closed
Closed
Remote URL cannot be accessed for git < 2.7 if SSH isn't working#694
Copy link
Milestone
v2.1.8 - Bugfixes

Description

@rgerkin
rgerkin
opened on Nov 5, 2017
Issue body actions

If the system git is < 2.7, and the URL is one that git expects to use SSH access on, but SSH isn't working for any reason, then self.repo.git.remote("show", self.name) here in remote.py will fail with:

GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git remote show origin
  stderr: 'Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.'

or related errors if SSH is not installed or on the path.

This can be fixed by falling back to git config --get remote.%s.url' % self.name which just reads the URL directly from the configuration.

Activity

  1. rgerkin
    added a commit that references this issue on Nov 5, 2017

    Update remote.py to fix issue gitpython-developers#694

    ecd061b
  2. rgerkin
    changed the title [-]Remote URL cannot be accessed for git < 2.7 if URL is git@github but SSH keys are not setup[/-] [+]Remote URL cannot be accessed for git < 2.7 if SSH isn't working[/+] on Nov 5, 2017
  3. Byron
    closed this as completedin #695on Nov 19, 2017
  4. Byron
    added a commit that references this issue on Nov 19, 2017

    Merge pull request #695 from rgerkin/issue694

    28cbb95
  5. yarikoptic
    added a commit that references this issue on Nov 27, 2017

    Merge remote-tracking branch 'upstream/master' into tmp-unicode-path

    7d30e08
  6. Byron
    added this to the v2.1.8 - Bugfixes milestone on Dec 11, 2017
  7. riley-martine
    added 2 commits that reference this issue on Dec 7, 2023

    Update remote.py to fix issue gitpython-developers#694

    2c71bf6

    Merge pull request gitpython-developers#695 from rgerkin/issue694

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      • v2.1.8 - Bugfixes

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.