Recently, this problem often occurs when using git. After google, it said that the problem occurred in general libssh
, record here.
I solved this problem directly by using this command:
sudo apt-get -y install build-essential nghttp2 libnghttp2-dev libssl-dev
this solved my problem.