monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Using Monotone with PuTTY's Pageant


From: Ralf S. Engelschall
Subject: [Monotone-devel] Using Monotone with PuTTY's Pageant
Date: Tue, 11 Sep 2007 13:21:42 +0200
User-agent: Mutt/1.5.16 OpenPKG/CURRENT (2007-06-09)

As it isn't obvious how to drive Monotone on a Unix server with an RSA
private key loaded into Pageant (PuTTY's ssh-agent(1) variant) on a
Windows desktop, here are the required steps -- just for information and
for the record:

1. Generate the Monotone RSA private/public key pair

   $ mtn genkey address@hidden

2. Export the Monotone RSA private key

   $ mtn --key address@hidden \
     ssh_agent_export example.evp-rsa.pem

3. Convert the exported RSA private key into the particular
   format PuTTY's PuTTYgen tool is able to read:

   $ openssl rsa -in example.evp-rsa.pem -out example.rsa.pem

4. Convert RSA private key from PEM to PuTTY Private Key (PPK) format:

   - run "puttygen" under Windows
   - select menu entry "Conversions" -> "Import key"
   - load file "exampke.rsa.pem" (usually from your Samba share)
   - set field "Key comment": "address@hidden"
   - set fields "Key passphrase" and "Confirm passphrase"
   - press button "Save private key"
   - save file "example.rsa.ppk"

5. Load "example.rsa.ppk" in PuTTY's Pageant -- Voila!

Yours,
                                       Ralf S. Engelschall
                                       address@hidden
                                       www.engelschall.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]