Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home1/tylerfra/public_html/includes/common.inc).

ssh

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/id_rsa.pub foo@bar.com

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

~/.ssh/authorized_keys

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

ssh foo@bar.com

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