File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,11 +20,17 @@ function calculateHostKeyFingerprint(keyBuffer: Buffer): string {
2020 */
2121const DEFAULT_AGENT_FORWARDING_ERROR =
2222 'SSH agent forwarding is required.\n\n' +
23- 'Configure it for this repository:\n' +
23+ 'Why? The proxy uses your SSH keys (via agent forwarding) to authenticate\n' +
24+ 'with GitHub/GitLab. Your keys never leave your machine - the proxy just\n' +
25+ 'forwards authentication requests to your local SSH agent.\n\n' +
26+ 'To enable agent forwarding for this repository:\n' +
2427 ' git config core.sshCommand "ssh -A"\n\n' +
2528 'Or globally for all repositories:\n' +
2629 ' git config --global core.sshCommand "ssh -A"\n\n' +
27- 'Note: Configuring per-repository is more secure than using --global.' ;
30+ 'Also ensure SSH keys are loaded in your agent:\n' +
31+ ' ssh-add -l # List loaded keys\n' +
32+ ' ssh-add ~/.ssh/id_ed25519 # Add your key if needed\n\n' +
33+ 'Note: Per-repository config is more secure than --global.' ;
2834
2935/**
3036 * Validate prerequisites for SSH connection to remote
You can’t perform that action at this time.
0 commit comments