I recently updated my copy of OS X to Mojave and I’m now having trouble with SSH. (I jumped a few versions but based on other posts it looks like the change to MacOS Sierra specifically was part of the problem).
Setting up your computer to allow you to SSH in using SSH keys in place of passwords is magical however there are times I want to SSH in without using the SSH keys I have setup. By setting the “PubkeyAuthentication” key to “no”, you can do this.
Using SSH keys allows greater security than a password when remoting into a machine, using SFTP, or WP CLI on a remote machine – however, they do require more work to setup. For security reasons, I generate a new key pair for each site I work on. To generate a new key pair I do the following.
Note Changes have been introduced in Local Lightning, the newest version of Local by Flywheel and this article has not yet been updated to address how to use WP CLI with this version.. I’ve become a big fan of Local by Flywheel for local WordPress development (i.e. running websites on my Mac). One thing I […]