Public Key Authentication

Connect securely to another machine without needing a password. Simplifies using SSH and performing automated backups with rsync.

John Simpson has a nice set of detailed instructions for setting this up as well.
Server Setup
On the machine you want to connect to, make sure the necessary SSH directory and key files are in the home directory of the user you are going to connect to the server as:

mkdir -m 700 ~/.ssh
touch ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys

Client

Technology:

Cron Scheduling

Time-based scheduling service in Unix-like computer operating systems.

# Use the hash sign to prefix a comment
# +---------------- minute (0 - 59)
# |  +------------- hour (0 - 23)
# |  |  +---------- day of month (1 - 31)
# |  |  |  +------- month (1 - 12)
# |  |  |  |  +---- day of week (0 - 7) (Sunday=0 or 7)
# |  |  |  |  |
# *  *  *  *  *  command to be executed

minute This controls what minute of the hour the command will run on,
and is between '0' and '59'
hour This controls what hour the command will run on, and is specified in the 24 hour clock, values must be between 0 and 23 (0 is midnight)

Technology:

Pages

Subscribe to Production Monkeys RSS

Recent Updates

  • 1 year 12 months ago
  • 1 year 12 months ago
  • 1 year 12 months ago
    php 8.x
  • 1 year 12 months ago
    10.6.7
  • 2 years 1 day ago
    Drop Centos 5/6 stuff