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:
65:ee:af:8a:3d:d9:45:71:25:ba:77:b2:03:5d:2c:f7 test@vmlfc5a.i-s-e.com

See Also

Installing rsync on a Linux system

Check if already installed

Copy the public key