gitbash login sourceforge without password under windows

Taken from: http://software.ac.uk/resources/guides/creating-and-managing-sourceforge-projects

 

Some of the above commands need you to enter your password. Using a public/private keypair allows you to avoid this and so bundle the above commands into a script to automatically run your back ups.

On the server from which you want to run your back up commands, create a public and private keypair:

$ ssh-keygen -t dsa -C "[email protected]"

This will create a private key, id_dsa, and a public key, id_dsa.pub, in a .ssh directory.

Log in to SourceForge.

Select Me => Account

Click Edit SSH Keys for Shell/CVS.

Paste contents of your public key file, id_dsa.pub, into the field as a single line e.g.

ssh-dss ttjuhpouhtvhjbu5urt97uhwre8956UING09==[email protected] 

Click Update.

You'll need to wait for a short while before SourceForge has configured itself.

Now, you should be able to run one of the rsync commands for backing up your release files or web pages without needing to enter a password.

 

Note:

Sourceforge section on ssh: https://sourceforge.net/apps/trac/sourceforge/wiki/SSH%20keys

Don't look at what sourceforge says must use SSH2 DSA or something. Just like the example above.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326818945&siteId=291194637