You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then run GitHits from that shell—no browser login needed. If an agent or service launches GitHits, configure the variable in its environment too.
Option 2: Browser login through an SSH tunnel
On your laptop, run this and leave it running, replacing user@your-vps with your SSH destination:
ssh -N -L 8765:127.0.0.1:8765 user@your-vps
In your VPS terminal, cancel the previous login and start a fresh one:
npx githits@latest login --no-browser --port 8765
Open the new sign-in link on your laptop and click Connect. The tunnel forwards the callback to the VPS so login can complete. Once it finishes, stop the tunnel with Ctrl+C.
Activity
skvark commentedon Sep 18, 2026
The redirect to
127.0.0.1points to your laptop, but GitHits is waiting for the callback on your VPS. There are two ways to authenticate:Option 1: API token (simpler for a VPS)
Then run GitHits from that shell—no browser login needed. If an agent or service launches GitHits, configure the variable in its environment too.
Option 2: Browser login through an SSH tunnel
On your laptop, run this and leave it running, replacing
user@your-vpswith your SSH destination:In your VPS terminal, cancel the previous login and start a fresh one:
Open the new sign-in link on your laptop and click Connect. The tunnel forwards the callback to the VPS so login can complete. Once it finishes, stop the tunnel with Ctrl+C.