2021-06-05 09:33 PM
C $> sudo apt-get update
PC $> sudo apt-get install corkscrew
PC $> git config --replace-all --global core.gitproxy "$HOME/bin/git-proxy.sh"
PC $> git config --add --global core.gitproxy "none for <MyPrivateNetworkDomain>" (optional, for example .st.com or localhost)
PC $> echo 'exec corkscrew <MyProxyServerUrl> <MyProxyPort> $* $HOME/.git-proxy.auth' > $HOME/bin/git-proxy.sh
PC $> chmod 700 $HOME/bin/git-proxy.sh
PC $> echo '<MyProxyLogin>:<MyProxyPassword>' > $HOME/.git-proxy.auth
PC $> chmod 600 $HOME/.git-proxy.auth
I'm following above commands but when execute "echo 'exec corkscrew <MyProxyServerUrl><MyProxyPort> $* $HOME/.git-proxy.auth' > $HOME/bin/git-proxy.sh" it says git-proxy.sh not found
2021-06-07 07:22 AM
Hi @Community member ,
check admin right on you station.
do you have write to create a file in $HOME/bin ?
Did you check to create and edit file content by another mean ?
Olivier