ForzaETH / race_stack

The autonomous racing stack for the ForzaETH team at PBL
MIT License
95 stars 23 forks source link

SSH agent seems to not be forwarded #8

Closed eghignone closed 6 months ago

eghignone commented 8 months ago

it seems like I cannot push from the devcontainer

gnone@summit:~/catkin_ws/src/race_stack$ git status
On branch add-gb-optimizer-submodule
Your branch is ahead of 'origin/add-gb-optimizer-submodule' by 5 commits.
  (use "git push" to publish your local commits)

Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        deleted:    base_system/f110-simulator

no changes added to commit (use "git add" and/or "git commit -a")
gnone@summit:~/catkin_ws/src/race_stack$ git push
ERROR: Repository not found.
fatal: Could not read from remote repository.

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

works outside of the container ofc

is anybody else using the devcontainer and facing the same issue? it might probably just be ssh agent not being forwarded probably in the container, or similar ssh authenthication issue

WinstonHChou commented 7 months ago

you can try https instead of ssh. That works for me.

niciBume commented 6 months ago

Can be solved withssh-add command in a terminal outside of the docker.