Sourceforge’s ssh service is one of the best, even though it is free. The traffic speed is great too.
Using Putty on Windows 7
Generating a Key
Download Puttygen, the key generator for Putty from here.
At the bottom section for Parameters, choose key type as “SSH2-DSA” (Not SSH2-RSA)
Click on Generate Button
When prompted, move the mouse over the blank space to “generate randomness”
Enter [email protected] for the key comment
You can now enter a passphrase. Since I dislike having to type a passphrase every time I connect to Sourceforge, I omit the passphrase.
Save private and public keys after giving them suggestive names. Do NOT close Puttygen.
Visit the Key posting page on Sourceforge
You can see a listbox where you can type in. If you have previous keys listed, you can view them there.
In the box, click anywhere on the last line, press the |END| key, and hit |RETURN|
Go back to Puttygen, after hovering the mouse over the Box titled “Public key for pasting into OpenSSH authorized keys file”, right click and choose Select All, then Copy to clipboard.
Go back to the box in Sourceforge account, and paste the key on a new line. Do not hit |ENTER| at the end. Click on th “Update” button.
Your key has now been added. Now we can configure Putty.
Download Putty from here
Connection type: SSH (Already selected)
Autologin username: myusername,myprojectname (Note that this is username and project seperated by a comma. Yes, the project name is to be entered as part of username in Putty)
Data to send to server:
Remote Command: create (Dont forget this step!)
Preferred SSH Protocol version: 1
SSH > Auth
Private key file for authentication: Choose the “private” key you saved earlier.
Go back to Session, and under Saved Sessions, type in a name for the session, like “sourceforge”, unless you want to configure your client each time.
Connection Keepalive (Optional)
While using an SSH connection over Putty, and waiting for long processes like a repo sync or a Rom compilation to be over, you may occasionally find that the session has automatically disconnected. Of course this could be due to your net connection. Occasionally it’s that the connection times out. The connection can be kept alive by the following:
Connection>Options controlling the connection>Seconds between Keepalives>20
Hit Open to get started, and accept the certificate if prompted.
Transferring files to and from Sourceforge using SFTP on Filezilla
Download Filezilla from here (Dynamic link to latest file)
Open the Site Manager
Port: Leave blank
Logon type: Normal
Password: your sourceforge account password
Press Connect, trust the host key when prompted
You will be shown your site’s project directory. You can switch your default remote directory, on the advanced tab of Connection Manager
Eg: Mine is /home/users/e/er/ergomone/ergoproject
Important locations on Sourceforge:
User’s web space: /home/user-web/username
Project web space: /home/frs/project/s/su/supernovakernel/ (“s/su” will change if Project name does not begin with “su”)