Closed
Description
I use an SSH proxy to reach a private git host. This is done by first authenticating then using a tunnel for the connection. This tunnel is routed using GIT_SSH_COMMAND
. I have it set using both environment:
export GIT_SSH_COMMAND='ssh -F ~/.ssh/gproxy.cfg'
and git config:
[core]
sshCommand = ssh -F ~/.ssh/gproxy.cfg
since not everything honors the git config option.
This works well. I mostly use magit, but from the command line I can git pull
. However, in gitui when I press f (only in repositories using this tunnel), I get connection timeout. So it seems this is not honoring the GIT_SSH_COMMAND
.
To Reproduce
- Create an ssh tunnel to your git host.
- Ensure
git pull
fails. - Export
GIT_SSH_COMMAND
to the tunnel. - Ensure
git pull
succeeds. - Launch
gitui
. - Pull with f.
Screenshots
Context
- OS/Distro + Version:
macOS Monterey 12.6
- GitUI Version:
0.21.0
- Rust version:
rustc 1.64.0-nightly (9067d5277 2022-07-28)