RESTful and HTTP APIs in Pyramid Transcripts
Chapter: Deploying your REST service to DigitalOcean on Ubuntu
Lecture: Creating your ssh key
0:01 Now the next thing we want to do is create our server
0:04 but before we can do that, we need to give it an ssh key
0:06 that we can use to log in, after it's created,
0:08 this is a much easier and safer way than just using usernames and passwords.
0:12 So click here, it's going to say let's create a new ssh key,
0:16 and you click this link, it takes you over here and it says
0:19 the first thing you are going to do is ssh keygen rsa.
0:22 Now that's close to what we want, it's not exactly really what we're going to need,
0:25 so what we're going to do is we're going to do ssh-keygen -t ssh-rsa,
0:31 not just straight rsa, and it's going to ask us for our files
0:34 we'll say use/screecaster/ .ssh/ and let's call it digital_ocean_course_demo.key
0:44 call it whatever you want, I'm calling it that, no passwords and it's all good to go.00:48 Now if we look in here, we'll see we have a couple of these,
0:51 we have the private key and we have the public key,
0:55 now I'm going to delete this key from my account afterwards anyway
0:58 but let me just offline grab the value and put it into where it's supposed to go.
1:02 Okay I've taken the contents of the public key
1:05 and I put it in here where it's asking for the new ssh key details,
1:11 so that's what we're going to use for creating this server.