Automatically Check RSYNC and Restart if Stopped

I occasionally use RSYNC to synchronize large directories of files between servers. This is especially useful if you’re moving a client from one server to another and they have alot of static files that are always changing. You can copy the files and sync them up, all with RSYNC and if your connection gets cut… Continue reading Automatically Check RSYNC and Restart if Stopped

Tunneling Through a Remote Firewall Using SSH Commands

If you’re dealing with systems behind a firewall it’s almost inevitable that you will need to tunnel into those systems from time to time. ¬†Fortunately, there are some quick & easy commands to accomplish this. ¬†In this example, we are going to use a Mac OSX or linux-based system, to gain access to a web… Continue reading Tunneling Through a Remote Firewall Using SSH Commands

Restrict a Linux User’s Access: Only Allowing SCP/SFTP, no SSH

The standard techniques for restricting a Linux user account, does not allow for file transfers to/from the user’s home directory. In my experience it is useful to have certain account types which are only allowed to upload/download files from their home directory; but not login and run shell commands. This is easy to do with… Continue reading Restrict a Linux User’s Access: Only Allowing SCP/SFTP, no SSH