Keygen for koko-login

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