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 !!

Fatal error: Uncaught Error: [] operator not supported for strings in /home/customer/www/ Stack trace: #0 /home/customer/www/ layers_post_meta(450) #1 /home/customer/www/ require('/home/customer/...') #2 /home/customer/www/ load_template('/home/customer/...', false, Array) #3 /home/customer/www/ locate_template(Array, true, false, Array) #4 /home/customer/www/ get_template_part('partials/conten...', 'single') #5 /home/customer/www/ include('/home/customer/...') #6 /home/customer/www/sin in /home/customer/www/ on line 62