Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1

Install PuTTY

2

Use PuttyGen to create a SSH key (see Putty help for details).

3

Use PuTTY to ssh to people.apache.org

4

Create a ~/.ssh folder

Info
  • Use "SSH-2 DSA" key type and 1024-bit key size.
  • Copy the content of the "Public key for pasting...." and save it to a file named authorized_keys for later use.
  • The private key saved by PuTTYGen can only be used in the "Connection -> SSH -> Auth" category in Putty configuration.

3

5

pscp your SSH public key authorized_keys saved in last step to ~/authorized_keys

4

Use PuTTY to login

6

ssh to people.apache.org

7 5

Create a ~\.ssh folder and move . Move or append ~/authorized_keys to ~/.ssh/authorized_keys there

Info
  • Each public key in the authorized_keys spans only one line.
    • For example: ssh-dss AAAAB3NzaC1kc3MAAA ..... agBmmfZ9uAbSqA== dsa-key-20071107
  • '#' in the first column is a comment line.

6

8

Configure putty to use your private key and save the session

...

1

Install cgywin, including utils/gpg Utils/gnupg and Net/openssh packages, or install gpg from http://www.gnupg.org/(en)/download/index.html

2

Generate a key with $ gpg --gen-key using default key kind ("DSA and Elgamal") and ELG-E keys size (2048) -pair with $ gpg --gen-key using default key kind ("DSA and Elgamal") and ELG-E keys size (2048).

Info
  • The generated keys are stored in $HOME/.gnupg or %HOME%\Application Data\gnupg subdirectory.
  • Save the content in this subdirectory to a safe media. This contains your private key used to sign all the OpenJPA release materials.

3

Backup your cygwin home directory to another media

4

Add your public key to https://svn.apache.org/repos/asf/openjpa/site/docs/KEYS. See the commands used describe at the beginning of this KEYS file to perform this task. The gpg key-pair is used to sign the published artifacts for the OpenJPA releases.

Update Maven settings for our servers

...