Generating an SSH key

To generate an SSH key with PuTTYgen, follow these steps

  1. Open the PuTTYgen program.
    ( don't have PuTTYgen program - click here to download/install )

  2. For Type of key to generate, select SSH-2 RSA.
    ( don't see SSH-2 RSA or more option under the Key menu )

  3. Click the Generate button.

  4. Move your mouse in the area below the progress bar. When the progress bar is full, PuTTYgen generates your key pair.

  5. Type a passphrase in the Key passphrase field. Type the same passphrase in the Confirm passphrase field. You can use a key without a passphrase, but this is not recommended.

  6. Click the Save private key button to save the private key. You must save the private key. You will need it to connect to your machine.

  7. Right-click in the text field labelled Public key for pasting into OpenSSH authorized_keys file and choose Select All.

  8. Right-click again in the same text field and choose Copy.

PuTTY key generator

 

Save your SSH key info in LastPass

Don't have LastPass - click here to download/install

1. Open LastPass

2. Right bottom corner - click on    to Add Item

3. Popup appear - click on more items (see circle)lp 01


4. Click on SSH KEY (see circle)
lp 02


5. add the info from PuTTY Key Generator to Add ssh key (LastPass)

  • add Name
  • match the numbers where the info should go (see image below)
  • for no 6. setup the date you have setup the PuTTY
  • for no 7. attached the zip file of the private & public keys that you have saved it on your PC drive.

lp 03

 

6. Don't forget to SAVE

 

Setup in Cyberduck

Don't have Cyberduck - click here to download/install

1. Open Cyberduck

2. Click on Open Connection (see circle)

cd 01


3. fill in the info marked in numbers

  • no 01. choose your connection
  • no 02 & 04. add Nickname & Username, this can use the same name.
  • no 03. add server name & make sure Port is correct according to your port number
  • no 05. find & locate your save file of SSH Keys. ( when you setup your SSH key with PuTTYgen )
    And select the private key.ppk
  • no 06. add the path to your files
  • no 07. optional

cd 02