SSH Login Without Password

Use this terminal command to copy your public key to the list of authorized keys on a remote server:

ssh-copy-id -i ~/.ssh/

That will copy your public key into the list of authorized keys on the remote server:


Now when you SSH in to the remote server, you won't have to enter your password:


Be careful. Roger that.

Drupal - Use Drush to Export/Import a MySQL Database Dump File

Export Database to File

So today I wanted to learn how to export a Drupal database to a file quickly. Back in the day I would've logged in through cPanel and navigated to PHPMyAdmin, then manually select an export of the database and have to choose where to save the file. Not to mention all the previous steps listed would need to be preceeded by a Drupal cache flush (I don't like the cache inside a database backup). Typically this would've taken me about 5 minutes to complete, well my friends, no longer is that the case.

Subscribe to RSS - ssh