Setup the *nix
Machines:
(We will use rsync with the SSH
option to backup these systems.) Enable SSH access to the servers, in
server-managerWe need to be able to SSH into these
machines without being prompted for a password. Here is an excerpt from an
email that explains this:
<EXCERPT>
Here's the technique in a nutshell (just tried it out on 3 esmith servers):
Let's say that you're working on server 10.0.0.20 and you want to ssh to
server 10.0.0.30 without having to use a password. On
10.0.0.20, issue the
following command as root:
# ssh-keygen -t dsa
This will prompt you for a location to store the key
(use the default) and
for a passphrase (leave blank).
Next, use scp (secure copy) to move the key to
10.0.0.30
# scp .ssh/id_dsa.pub 10.0.0.30:/root/.ssh/authorized_keys2
This will prompt you for the root password on
10.0.0.30 and will then
transfer the key from 10.0.0.20 to 10.0.0.30. It
should do the trick.
Try it out by running an ssh session from the command
line:
# ssh 10.0.0.30
It should let you in without a password. You can scp
the ".ssh/id_dsa.pub"
file to other servers without having to create a
public key for each.
-MD
</EXCERPT>
SRWare Iron browser session at TechFeast - 2 views
moodle for the masses - 2 views
1More