Ubuntu

LINUX: Running Shell Script

Posted on

  # Test your newly created Shell Script #sudo bash /home/rmalla/backup.sh   --- NOTE --- I spent about an hour trying to figure out why my script did not work, and the answer was that I had created the script in Notepad and uploaded it to de web and it had some hidden flags that […]

Ubuntu

Rsync: Create SSH-Key for Cron Backups

Posted on

Reference: http://www.thegeekstuff.com/2011/07/rsync-over-ssh-without-password/ 1. Create a Key on the "Origin Server" #¬†ssh-keygen root@Asterisk:~# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Created directory '/root/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Press enter to create the SSH Key without a password (not sure of the no […]