StanfordSNR / guardian-agent

[beta] Guardian Agent: secure ssh-agent forwarding for Mosh and SSH
BSD 3-Clause "New" or "Revised" License
438 stars 30 forks source link

MAC failure, expected seq num #34

Open evantd opened 3 years ago

evantd commented 3 years ago

I frequently see errors like this, though the seq num varies. If I keep retrying, it will eventually succeed, and I never see it if I unset GIT_SSH_COMMAND so that I'm not using sga-ssh. The output from sga-guard shows that the request was approved even when I get this error, and there are no errors printed on that end (only on the intermediary).

% git fetch -tp --all && git reset --hard @{u}
Fetching origin
ssh: MAC failure, expected seq num: 79
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
error: Could not fetch origin

Guardian (home laptop):

[edower@IT-USA-VX3493:~]1^0% sga-guard --version
v0.7.2-beta
[edower@IT-USA-VX3493:~]1^0% uname -a
Darwin IT-USA-VX3493 20.5.0 Darwin Kernel Version 20.5.0: Sat May  8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64 i386 MacBookPro16,1 Darwin

Intermediary (remote dev VM):

[edower@edower:~]2^0% sga-ssh -V
v0.7.2-beta
[edower@edower:~]2^0% uname -a
Linux edower 5.8.0-1038-aws #40~20.04.1-Ubuntu SMP Thu Jun 17 13:25:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux