SSHd is one of the most versatile applications I use in my day. Whether I’m looking for a quick commandline to a remote machine or tunneling traffic from a public network, SSH or Putty are almost always open in some fashion on my systems. To facilitate easier logins and make use of scripts such as… Read more »
Posts Tagged: Linux
Linux Tip: Resize an ext3 partition with gparted
Recently I embarked on a cleaning spree prompted by full capacity on my filedrive (where all my digital media lives). After shuffling files all around the system, deleting old OS files that were no longer needed, etc, I had 3x 100gb partitions with just a little bit of stuff in each. What I wanted was… Read more »
Linux Tip: Create a bash script to archive web folders and mysql databases locally and remotely
Update – May 2013: I’ve received a few emails asking how to prevent this script from continuously eating up disk space… Rather than re-invent the wheel, I just use built in Linux commands in my root crontab that run once a day: 0 4 * * * find /home/tim/backups/ -mtime +10 -exec rm {} \;… Read more »
Linux Tip: auto mount remote hdd via fstab
To map a remote samba share in Linux with read-write access and a username and password, you will require samba. In debian based distros, this is easily obtained via sudo apt-get install samba. Create a secure credentials file: [email protected]:~$ cd /root [email protected]:/root$ su Password: [email protected]:~# echo username=username > .smbpasswd [email protected]:~# echo password=password >> .smbpasswd [email protected]:~#… Read more »