1, Create a private key and put it on SF
$ ssh-keygen -t dsa -C "USERNAME@shell.sourceforge.net"
Generating public/private dsa key pair.
Enter file in which to save the key (/home/username/.ssh/id_dsa):
Created directory '/home/username/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/username/.ssh/id_dsa.
Your public key has been saved in /home/username/.ssh/id_dsa.pub.
The key fingerprint is:
Then copy your private key to SF on your account page.
2, Connect to SF and create a shell for you
$ ssh -i PrivateKeyFile USERNAME,PROJECT@shell.sourceforge.net create
The authenticity of host 'shell.sourceforge.net (184.108.40.206)' can't be established.
RSA key fingerprint is b4:c5:6c:36:f7:ad:2c:23:52:e1:84:3e:77:61:5d:59.
Are you sure you want to continue connecting (yes/no)? yes
Requesting a new shell for "USERNAME" and exiting when it is ready.
queued... creating... starting...
That will take a few minutes.
3, Just connect to SF with SSH
$ssh -i PrivateKeyFile USERNAME@shell.sourceforge.net
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.