git pull returns Warning: remote port forwarding failed for listen port 52698

Viewed 288

Why, when I execute git pull, am I getting this warning (on macos)?

Warning: remote port forwarding failed for listen port 52698

=== EDIT ===

~ $ which git
/usr/local/bin/git
my-project $ git remote -v
origin  git@gitlab.com:me/backend-api.git (fetch)
origin  git@gitlab.com:me/backend-api.git (push)

~/.gitconfig:

[user]
    name = Me
    email = me@home.com
[core]
    editor = vim
[alias]
    lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
[filter "lfs"]
    process = git-lfs filter-process
    required = true
    clean = git-lfs clean -- %f
    smudge = git-lfs smudge -- %f
[diff]
    tool = vscode
[difftool "vscode"]
    cmd = code --wait --diff $LOCAL $REMOTE
[pull]
    rebase = false

my-project/.git/config:

[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
[remote "origin"]
    url = git@gitlab.com:me/backend-api.git
    fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
    remote = origin
    merge = refs/heads/master
[pull]
    rebase = false
1 Answers

Check your ~/.ssh/config, there might be a Host * or Host github.com with a LocalForward or RemoteForward which the git client will honor when accessing Github with ssh.

Reposting as an answer as @DevonDahon confirmed having RemoteForward 52698 127.0.0.1:52698 in there.

Related