Monthly Archives: July 2012

How to set SSH to run on a non-standard port

By default, the OpenSSH server runs on TCP port 22. Changing this to a non-standard port helps mitigate the risk of someone successfully gaining access via a brute force attack, especially if there are many users on the system or … Continue reading

Posted in FAQ | Tagged , , | Leave a comment

How to Import / Export MySQL Databases via SSH / Command-line

To Export a MySQL Database run: mysqldump -u username -p database_name > dumpfile.sql To Import a MySQL Database run: mysql -u username -p database_name < dumpfile.sql

Posted in FAQ | Tagged , , | Leave a comment