ForzaETH / race_stack

The autonomous racing stack for the ForzaETH team at PBL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSH agent seems to not be forwarded

eghignone opened this issue · comments

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

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

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