Novell Home

How to upload files from Windows

From Developer Community

You can upload your files using SFTP or RSync. To use these protocols to release files you must first generate and install a public/private key pair. This document describes how to set up these keys and how to access the forge file server using WinSCP.

Generate and Install a Key Pair

  1. Download PuTTYgen from the PuTTY website. Start the PuTTYgen utility by double clicking on it.
  2. Select SSH2 RSA (near the bottom of the window).
  3. The default number of bits in the key is 1024, which is fine.
  4. Click Generate and move the mouse around in the blank area of the window.
  5. Change the Key comment to something that will help you remember which computer this key was generated on, for example, My Main Workstation.
  6. Save the private key (without a passphrase) as ssh2rsa.ppk. The filename and location do not really matter as long as you remember them for a later step.
  7. The public key is displayed at the top of the PuTTYgen dialog. Highlight the entire key string (everything in that box) and copy it into the Windows clipboard.
  8. Open the Special:Keyupload page (you must be logged in).
    • This page is always available from the left hand navigation of your user page.
  9. Copy and paste your public key into the Public Key text box or upload the public key file.
    • The public key is displayed at the top of the PuTTYgen dialog.
  10. Click Add. Cron runs every fifteen minutes. Your public key will be installed on all of the machines you need to access.
  • Notes:
    • You should create a unique public/private key pair for each computer with which you plan to access the Forge services. You should never copy a private key from one computer to another. Your private key is just as valuable as your password and should be protected as such.
    • You may encrypt your private key with a passphrase if you wish. If you do, then you will probably want to use Pageant to store your private key in memory. Pageant is installed as part of the PuTTY package. See the PuTTY manual.
    • You do not need to save your public key on your local hard drive, since you saved it on the Forge website. If you do use the Save public key button on the PuTTYgen dialog, please be aware that it saves the key in a format that the Forge servers do not understand.

Access the Forge File Server with WinSCP

WinSCP Preference Pane
Enlarge
WinSCP Preference Pane
WinSCP Login Pane
Enlarge
WinSCP Login Pane
  1. Download and install WinSCP from the WinSCP website. Run the WinSCP application.
  2. Click on the word Preferences in the left Panel.
  3. You need to set other general preferences by clicking on the Preferences button.
  4. After clicking the preferences button you are presented with a new dialog with a variety of options. Click on the word Transfer in the left panel.
  5. Make sure that both the Set Permissions checkbox and Perserve Timestamps checkbox are not checked.
  6. Click the OK button to save these options.
  7. Click on the word Session in the left panel.
  8. Set the hostname to forgeftp.novell.com
  9. Leave the port as 22.
  10. Set the User name field to your Novell Login username. Do not fill out a password. The forge file system will not accept password based authentication.
  11. Select your private key file by clicking on the button at the right of the private key file field.
  12. If you save this session setup, by clicking the save button, it will be available by clicking on the Stored session link each time you start WinSCP.
  13. Click on the Login button to login to the file system.
  14. If this is the first time you have logged into the file system, you will see a dialog warning you that you may not be able to trust the server that you are connecting to. The fingerprint for forgeftp.novell.com is
ssh-rsa 1024 d7:32:ea:0a:fa:24:bc:67:48:43:c8:28:aa:ef:cd:e7

If this is the fingerprint you see in the warning dialog, click Yes, otherwise click Cancel and please let us know.

Novell® Making IT Work As One

© 2008 Novell, Inc. All Rights Reserved.