Previous Topic

Next Topic

Book Contents

Book Index

Generate security keys

RSA or DSA security keys need to be generated and the public portion copied over to the server side. This should be generated logged in as the username that you are going to use for the copying process. To generate a RSA key do the following:

$ mkdir .ssh

$ chmode 700 .ssh

$ ssh-keygen -t rsa -N '' -f ./.ssh/id_rsa

Generating public/private rsa key pair.
Your identification has been saved in ./.ssh/id_rsa.
Your public key has been saved in ./.ssh/id_rsa.pub.
The key fingerprint is:
40:d8:00:db:58:44:ca:a9:7b:df:de:d4:3d:28:5a:ab Administrator@BWN2K3D

The key's randomart image is:

+--[ RSA 2048]----+

| .+=+. |

| . B... |

| * . . |

| . . |

|. S |

| . . o |

|. . + o o |

| . . . = o . |

| ..E.o |

+-----------------+

See Also

Installing the rsync client on a Windows system

Install the components

Copy the public key