Keygen for koko-login
For Windows:
- To generate a key pair use PuTTY’s generation tool called “PuTTYgen”
- Once Launched make sure RSA is selected in the bottom left, then click “Generate”
- Move your mouse around the blank area near the progress bar to add randomness to the key
- Enter a keyphrase and confirm it (not necessary but recommended)
- Click “Save private key” and save it
- Click “Save public key” (recommended)
- Copy the whole Public key on the top of the generator
- Open https://ondemand.hpc.fau.edu/
- login
- Click the tab “Clusters” and select “Koko 3 Shell Access”
- Type cd .ssh
- if .ssh does not exist do:
- mkdir .ssh
- chmod 700 .ssh
- Use the editor of your choice (vi, vim, nano) and edit authorized_keys ex. vi authorized_keys (do not to delete anything in this file)
- paste the copied public key at the end of the file and save it.
For MAC:
- Open a terminal
- Type ssh-keygen -t rsa
- Enter file in which to save the keys (/home/demo/.ssh/id_rsa):
you can just hit enter to save it in the default location
- Enter passphrase (can be empty for no passphrase):
- Copy the public key
- ssh to koko-login.hpc.fau.edu
- Type cd .ssh
- Use the editor of your choice (vi, vim, nano (more user friendly)) and edit authorized_keys
ex. vi authorized_keys (do not to delete anything in this file)
- paste the copied public key at the end of the file and save it. (Do not delete anything in authorized_keys)
For FileZilla
- Launch FileZilla
- Open “Site Manager” (top left underneath “File)
- Create a new site
- Set the “Protocol” to “SFTP – SSH File Transfer Protocol”
- Set the “Host” to koko-login.hpc.fau.edu
- Set the “Port” to 22
- Set the “Logon Type” to “Key file”
- Set “User” to your FAU netid
- Set the “Key file” to the path you saved your private key
- click ok
- You can now connect to koko-login through the site manager
For X2Go
- For existing/previous connections click “session preferences”
- Under “Use RSA/DSA key for ssh connection” enter the path to your private key
For PuTTY
- Launch PuTTY and load your saved session
- Under “Category” expand “SSH” and click “Auth”
- under “Private key file for authentication” enter the path to your private key