• Home
  • Development
  • Setting up SSH key access for Goo.im and Xda Build server

Setting up SSH key access for Goo.im and Xda Build server

Goo.im sends a username and password for SSH access. Xda build server however does not provide a username and password, but uses SSH keys exclusively.

In Putty->Session:

HostName: upload.goo.im [Or the Xda server: server.xda-developers.com (fake hostname)]

Port: 2222 [ 22 for XDA]

Connection type: SSH

Putty/Connection/Data:

Auto-login username: [your username]

Save your Settings under Sessions and exit.

Putty/Connection/SSH/Auth:

Private Key for Authentication: If you’re using the XDA server, you should now point it to the location of your private key. If using Goo, then you should now create your key pair.

Before using the private key, login with these details to the server. Enter your goo.im password when prompted. Once logged in, enter the following at the Bash cmd line:

wget http://goo.im/devs/drmacinyasha/goo/add-goo.sh; chmod a+x add-goo.sh; ./add-goo.sh

Now, follow the prompts to generate a new Public key/Private key pair. These will be stored in the hidden directory ~/.ssh/ as id_goo and id_goo.pub

Copy the private key to the root directory:

cp .ssh/id_goo ~/

Now, setup FTP access on Filezilla:

Filezilla

Site Manager/New Site/

Host: upload.goo.im

Port: [leave blank]

User: [your username]

Password: [your goo.im password]

Ok>

Site Manager/Connect

 

On connecting, you can view the private key you copied. Copy it to your PC.

Open Puttygen.exe.

Puttygen

Puttygen/Conversions

Import key>Choose the Openssh key you copied (id_goo)

Save private key>Choose a new .ppk filename

This will be the Putty private key corresponding to your Openssh key.

Putty

In Putty/Session:

Load the Setting you saved previously.

Putty/Connection/SSH/Auth:

Private Key for Authentication: [Choose the .ppk file you generated]

Save the Session settings.

Click Open to start your SSH session on Goo.im.