Skip to content

No 'ssh' command found. Using default ssh settings. #206

Open
@avishai987

Description

Hi, why I am getting this error? full error:

> git_sitrep()
Git config (global)
• Name: 'avishai987'
• Email: 'avishai987@gmail.com'
• Global (user-level) gitignore file: <unset>
• Vaccinated: FALSE
ℹ See `?git_vaccinate` to learn more
ℹ Defaulting to 'https' Git protocol
• Default Git protocol: 'https'
• Default initial branch name: <unset>
GitHub
• Default GitHub host: 'https://github.com'
• Personal access token for 'https://github.com': '<discovered>'
• GitHub user: 'avishai987'
• Token scopes: 'admin:org, admin:public_key, admin:repo_hook, delete:packages, gist, notifications, project, repo, user, workflow, write:packages'
• Email(s): 'Avishai987@gmail.com (primary)', '79481420+avishai987@users.noreply.github.com'
✖ Local Git user's email ('avishai987@gmail.com') doesn't appear to be registered with GitHub.
Git repo for current project
• Active usethis project: '/sci/labs/yotamd/lab_share/avishai.wizel/R_projects/HMSC'
No 'ssh' command found. Using default ssh settings.
Error in ssh_key_info(host = host, auto_keygen = FALSE) : 
  Failed to find ssh key file for github.com:avishai987
✖ The 'origin' remote is configured, but we can't determine its default branch.
  Possible reasons:
  - The remote repo no longer exists, suggesting the local remote should
    be deleted.
  - We are offline or that specific Git server is down.
  - You don't have the necessary permission or something is wrong with
    your credentials.
• Default branch: 'main'
• Current local branch -> remote tracking branch:
  'main' -> '<unset>'
GitHub remote configuration
• Type = 'ours'
• Host = 'https://github.com'
• Config supports a pull request = TRUE
• origin = 'avishai987/HMSC' (can push)
• upstream = <not configured>
• Desc = 'origin' is both the source and primary repo.
  
  Read more about the GitHub remote configurations that usethis supports at:
  'https://happygitwithr.com/common-remote-setups.html'

Thanks!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions