October 31, 2018

Fedora 28 and Git/SSH issues with Bitbucket

This is just a quick post for those that may be having problems using git client to say clone or pull from remote repos.

I noticed that my Fedora 28 VM recently started to complain when I issued git commands towards Bitbucket. An example is shown below.

Using openssh-clients-7.8p1-3.fc28.x86_64 gives the following error.

✔ ~/repos/missile_run [master|✔] 
12:28 $ git pull
packet_write_wait: Connection to port 22: Broken pipe
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

If this happens, you can try the following to downgrade openssh-clients to openssh-clients-7.8p1-2.fc28.x86_64. It fixed my problem (for the time being).

sudo dnf downgrade openssh-clients-7.7p1

This will result in the following rpms being present.


Try again.

12:29 $ git pull
Already up to date.
✔ ~/repos/missile_run [master|✔]

All is well now !!