This will load the profiles configuration into the current PuTTY window. Click on the profile you saved earlier, and click load. Close PuTTY, and re-open it, so we get back to the configuration menu. This will save the file and return you back to the bash prompt. Once it's all in one line, and looks good, hit CTRL+X, then Y, then Enter. This should move the entire string all into one line. so go to the beginning of the second and third lines, and hit backspace once. Now generally this will paste into three lines, you want it to be on one line. This will bring up a text editor, simply right click in the putty window to paste the key you copied earlier. mkdir ~/.ssh chmod 700 ~/.ssh nano ~/.ssh/authorized_keys2 Go back to the PuTTY session and run the following commands in order.
Do not use 3 lines, as displayed in the example.) ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAi5zTs+THmSa5rxfc3rYzVORk9neoefVZg1PZwSI 9vj/eg3UL5fg8ENCw9OGRm3R0t2FgfvpudWGkiNaOp1HWz3FamX7zZ4svqJHloYgpL /0vzZynFEc2Hm2O024PLzy7G6H6GDTSuGxU1Ar7gluBiNDfR9SXcUD+CddliW2+zXc= Note: When you paste the key, it needs to be all on one line, with no extra spaces or line returns. ( Note that the below example is all on one line. Copy the data inside the putty window under Public Key for pasting into SSH authorized keys file.
Now that we have the keys generated and saved, we need to get the keys on the server. Please remember the location of this file, as it is needed later. Now click Save Public Key, and save this file to a name of your choosing somewhere safe on your harddrive. If you're trying to have a 'passwordless login' then this should be left blank. The comment isn't important, as it's just a label, but the passphrase will require that you enter this passphrase when using the key. Once this is generated, you can set a key comment, or a passphrase. PuTTYgen uses this movement to generate the key's randomness. Go ahead and click on generate, then move the cursor around the blank area. Make sure to select SSH-2 RSA under type of key to generate, and specify the bits to 1024 (this is default). Now we need to generate the SSH key itself. If you see something like the below, then everything worked. This should bring you to the bash prompt of your server. You will prompted about a potential security breach. Now that PuTTY is configured, we should connect to the server at this time. This will save the current configuration profile into PuTTY for later use. If this is not root, it will most likely be your cPanel username.Ĭlick back over to Session (top of the left menu), type a name to identify your settings, i usually use my domain name, then click save. Under Connection > Data, specify the username you wish to connect with under Auto-login username. However, if you're connecting to your shared/reseller account, we use a non-standard port. In the Host Name field, enter your domain, or the IP address of your server. Run PuTTY and you'll be shown the basic PuTTY options.
Putty ssh keygen download download#
The Unix/Linux version is available on the PuTTY download page.įirst things first, we need to create a profile in PuTTY to access our server. PuTTYgen: an RSA and DSA key generation utility (Windows x86).PuTTY: the Telnet and SSH client itself (Windows x86).You can get the latest version for both at the following links: There is also a Linux version as well.įirst you will need to download PuTTY and PuTTYgen.
Putty ssh keygen download how to#
Here we will go over how to setup SSH keys using PuTTY, a popular SSH client for Windows.