When using SSH (Secure Shell, a cryptographic network protocol) to access
people.apache.org, Windows users have two choices:
Non-Windows-specific documentation is also available, and contains details not repeated in this document.
setup-x86_64.exe. Cygwin strongly advises against installing the 32-bit version.
This section describes how to create a public/private key pair and how to configure Putty to use them to access
Putty comes with Puttygen, Pageant and PSFTP, which you will be using.
Puttygento start the authentication keys creation process.
Type of key to generatehas
Generateto create a random key (and move the mouse around to supply the required entropy).
Commentfield or accept the default.
>Key Passphraseto protect your private key.
Save Public Keyand save it as
Save Private Keyand save it as
authorized_keysfile, copy the Public Key information in the top box, paste it into a text file (using a tool like
notepad) and save the file as
authorized_keys. The file must have that exact name and no extension like
.txt. Make sure your text editor did not add an extension when you saved the file.
psftp people.apache.org. A connection will be made to
.sshin your area.
chmod 700 .ssh. This ensures only you have access to this directory.
cd.sshto navigate into the new directory.
put authorized_keysto upload your
exitto log out from your
people.apache.orgprivate area and from PSFTP itself.
This is probably the most overlooked but most important step for Windows users. You need to load a key into Pageant and have Pageant running all the time in memory so other applications can use the keys you created. If Pageant is not running, when you enter
people.apache.org Putty or PSFTP will prompt for user and password again regardless of the work you just did.
Addto add a new key.
yourapacheusername.ppkprivate key file and select it.
Closeto close this window.
Pageant is still running with an icon in the system tray.
You should now be able to log in without being asked for your user name or password any more. Try it:
In the Command Prompt box enter
You should be able to log right in without having to provide your credentials.
Note that whenever you exit Pageant, or restart your computer, you will need to restart Pageant and add your key in again. Pageant does not keep details of loaded keys between sessions.
people.apache.orgas the Hostname.
SSH 2 Onlyradio button is selected.
Authsub-category of the SSH category.
Attempt "Keyboard Interactive" auth (SSH 2)checkbox is selected.
BrowseButton and locate and load your
Private Keyyou saved earlier as
Sessioncategory and save this session with a suitable name.
All the details are now saved for future use. Now click the
Open button to open a secure connection to the server and to
log in automatically to your personal area of
people.apache.org. You will have to provide your password if this is the first time connecting to your area.