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.
Run Puttygen
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.
Configure Putty
Download Putty from here
Open Putty
Session
Hostname: shell.sourceforge.net
Port: 22
Connection type: SSH (Already selected)
Connection
– Data
Login Details:
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)
SSH
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)
Install Filezilla
Open the Site Manager
New Site:
Host: frs.sourceforge.net
Protocol: SFTP
Port: Leave blank
Logon type: Normal
User: username,projectname
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”)
Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an opensource and programming enthusiast.
He is a full stack developer, whose favorite languages are currently Python and Vue.js. He is also fluent in Javascript, Flutter/Dart, Perl, PHP, SQL, C and bash shell scripting. He loves Linux, and can often be found tinkering with linux kernel code, and source code for GNU applications. He used to be an active developer on XDA forums, and his tinkered ROMS used to be very popular in the early 2000s.
His favorite pastime is grappling with GNU compilers, discovering newer Linux secrets, writing scripts, hacking roms, and programs (nothing illegal), reading, blogging. and testing out the latest gadgets.
When away from the tech world, Dr Joel G. Mathew is a practising ENT Surgeon, busy with surgeries and clinical practise.