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

  • 5 days 1 hour ago
    1.27.2 update
  • 2 weeks 2 days ago
    Drupal 10/11 config
  • 2 weeks 3 days ago
  • PHP
    2 weeks 3 days ago
    PHP 8.3.11 and AlmaLinux
  • 2 weeks 4 days ago
    New version of Pound