

pub extension and private keys have no extension. To check if you have an existing SSH key pair, you can run the ls command. On your MacBook’s Terminal application, go to your computer’s default SSH key directory by entering cd ~/.ssh. How to log in with an SSH key pair with a name other than id_rsa Setting Up a Public and Private SSH Key Pair on Your MacBook

How to add/remove a passphrase to/from your private SSH key How to access your web server files using your SSH key pair

How to copy your SSH public key on your web server How to set up a public and private SSH key pair on a Mac If you have both of these, I’ll walk you through the following steps: You also need to have a basic understanding of the command line interface. To follow along you need to make sure that SSH access is included in your web hosting plan. You can’t update Drupal’s core at all via their admin area.ĭisabling password authentication makes your web server more secure because you can only access SSH on computers that have the private key which corresponds to the public key on your web server. The same goes for Drupal’s modules and themes. Updating a group of WordPress plugins and themes is much faster on the command line than logging in to update them in the admin area. WordPress uses WP-CLI and Drupal uses Drush. Some tasks can be done faster on the command line interface than on a browser. If you set up your SSH public and private key pair on your computer, you can bypass entering a password to access your web server.
