Can no longer pull/push from WP Engine since upgrading to MacOS Ventura on M1 Mac

@mdavoli Checking the log, I see this ssh_config error, which then causes the rest of the sync to fail. I’m not saying this is THE issue, but it’s definitely an issue that needs to be addressed.
There were a lot of changes that happened between Intel and M1 Macs that I’ve had to struggle through myself.

The error tells me there is a possible bad configuration option in your ~/.ssh/config file. Are you able to share the output of your ~/.ssh/config file secretly - either by https://quickforget.com/ or other site you trust?

Local SSH error

/etc/ssh/ssh_config: line 58: Bad configuration option: pubkeyacceptedalgorithms
/etc/ssh/ssh_config: terminating, 1 bad configuration options

@dasbuilder you are on to something. Since upgrading to Ventura…several of my ssh keys stopped working so I used a fix found here:

Which recommended adding the two following lines to my config file:

HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa

When I removed those two lines to restore the config file back to the default. Local started working. I’m not sure why, but apparently local breaks down if those two lines are added back in to restore the old encryption.

cc: @Nick-B

2 Likes

@Nick-B @mdavoli

I don’t have Ventura installed yet (Monterey here), but maybe it’s the OpenSSH version? I bet it’s OpenSSH 8.8p1 (run ssh -V to find out). Monterey uses 8.6p1 (at least the default version I have right now).
I found OpenSSH: Release Notes which notes the following under “Potentially-incompatible changes” section. I don’t have enough knowledge to know why removing those lines would allow Local to work other than to speculate they’re using older OpenSSH version (I’m drawing correlations based on this non-Local related StackOverflow answer).

Quote from OpenSSH release notes for 8.8 (release date Sept, 26, 2021):

This release disables RSA signatures using the SHA-1 hash algorithm by default…
…For these cases, it may be necessary to selectively re-enable RSA/SHA1 to allow connection and/or user authentication via the HostkeyAlgorithms and PubkeyAcceptedAlgorithms options. For example, the following stanza in ~/.ssh/config will enable RSA/SHA1 for host and user authentication for a single destination host:

Host old-host 
  HostkeyAlgorithms +ssh-rsa 
  PubkeyAcceptedAlgorithms +ssh-rsa

Yes I can confirm that removing those 2 lines allows Local to work again with WP engine.

1 Like

Hi All, I recently had this problem and all of the troubleshooting in this thread still lead to empty sites.

What I had to do was log out of WP Engine using the existing API Key on my profile.

I generated a new API Key, when I did that Local Generate a new key for its usage and the site connection started working.

Thankfully files are now moving between environments.

2 Likes

Thank you for sharing what worked for you @mrkwp!

Sam

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.