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).
ssh
SSH ignoring SSH Key
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.
Generate SSH Key Pair
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.
WP-CLI LocalWP without “Open Site Shell”
I’ve become a big fan of LocalWP (formerly Local by Flywheel) for local WordPress development (i.e. running websites on my Mac). One thing I do find frustrating is the need to use “Open Site Shell” when I want to run a WP-CLI command. If you’re in a hurry to set this up, you can jump […]