Creation of SSH key on Digitalocean (with Digitalocean invitation)

Source: Internet
Author: User
Tags key string cloud hosting vps

Digitalocean is a cloud hosting business, with a minimum configuration of 512M memory, 20G SSD, only 5 knives per month. Half a month ago just bought a VPS on this, create droplet when you see the creation of SSH key is a bit ignorant, do not know what it is to do, and then found the solution on the Internet, this article attached the solution, of course, the main purpose is to recommend Digitalocean, attached to my invitation, Click www.digitalocean.com/?refcode=0cebdb63d25a Register, you can get 10 knives, Digitalocean minimum configuration 5 knives per month, so the equivalent can be free for two months, select Singapore node faster, 5 per month to have a VPS to build a VPN or proxy, or is very valuable, of course, the more important is that everyone through this link registration I can also have affordable, haha, highly recommended.

The following is the way SSH key is generated, if you really use Digitalocean to create a virtual host, do not set the root password, you can use this login.

This SSH key is actually a public key, and then we in the client with Putty and other tools to access, can specify the local private key file, so that the trouble of losing the password every time, and more than every time the password is more secure.

This public key can be generated using Putty key generator, download link View official website: http://www.chiark.greenend.org.uk/~sgtatham/putty/ Download.html, if the official website link cannot open, can download from my network disk, download Puttygen, open after parameters select SSH-2 RSA, click Generate and generate random sequence:

A public key string is then generated:

Ssh-rsa aaa***irfk/w0wbxotfq== rsa-key-20150311

This is to paste into the digitalocean inside the SSH key, all pasted in, including the front of the Ssh-rsa and the last rsa-key-20150311, the other has a button: Save private Key, Click it to get the private key file (a file with the suffix named PPK).

Droplet after creation can be used putty and other tools login VPS, open putty, domain name input [email protected], left select Connection-ssh-auth, the bottom of the private key file for Locate the private key file that you just saved in authentication. After landing in order to facilitate on the computer without a private key to log on, or should be set a login password, the terminal to execute the passwd command to set the password.

Creation of SSH key on Digitalocean (with Digitalocean invitation)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.