Tag Archives: SSH

SSH zip only certain types of files recursively on Linux

If you are looking for a command to run via ssh that ZIPs all files (of a certain type) recursively here you go: 1 - Switch into the website folder, then run zip -R YOURZIPFILENAME '*.php' '*.html' '*.js' '*.css' 2 - You can also run this from outside the website folder: zip -r YOURZIPFILENAME website_folder…
Read more

Linux Helpful Commands

Here is a list of some helpful Linux commands (all these commands assume you are a ROOT user): Need to search all your files, on your server for a word(s)? grep -r "SEARCH WORDS HERE" . Add on "-l" if you want to return ONLY the file that search word is in. Add on "-i"…
Read more

FTP using WordPress and Amazon Web Services

Recently I started using Amazon Web Services for hosting and what not... some way cool stuff there.  Something I immediately ran into was this problem: When I installed WordPress I could NOT install any plugins and/or updates, through the WordPress interface because it would not let me use SSH2 with my PEM key that AWS…
Read more