Skip to playerSkip to main content
  • 4 days ago
Transcript
00:00welcome to this demo on oci cloud shell let us look at how you can use cloud shell to generate
00:10ssh keys so i am logged on to the oci console and as we discussed earlier you can access cloud shell
00:19from the developer tools menu on the global menu so click on cloud shell from here and this will
00:26bring up the cloud shell as you recall cloud shell is nothing but a small virtual machine running a
00:32linux shell which you access through the browser through the oci console and it comes with pre
00:38authenticated oci cli and lots of utilities like gate java python etc so right here i can see my
00:46cloud shell is up and running and the first thing i'm going to do is i'm going to look at the
00:51directories which are here so i'm going to generate ssh key pair and for folks who are unfamiliar ssh
00:58protocol also referred to as secure shell is a method for secure remote login from one computer
01:07to another that's the easiest way to think about it so let's go ahead and create a directory for
01:13keeping my ssh keys and let's go to that directory and right here uh i can uh create my uh my generate
01:23my my my key person to do that this is the command to generate uh the key pair it basically says generate
01:30keys and this is the size of the keys and the algorithm i'm using is rsa and i need to provide
01:36a name for the keys i'll say demo key uh and that's good and it is asking for a passphrase i don't need
01:44to provide that um i kind of skip this and now the key gets generated so now if i see this directory i can
01:51see that there is a key pair uh and there is a demo key which is a private key and then there is a public
01:57key which is denoted by dot pub now um the public key gets copied to the remote server and the private key
02:05stays with the user and the position of that private key is a proof of the user's identity only the user
02:14in possession of a private key that corresponds to the public key at the server will be able to
02:19authenticate successfully so using cloud shell the whole idea is you don't need another development
02:27environment like your local machine or a utility like putty gen to generate these ssh keys now since we
02:34have generated this ssh key pair we will be using this in our subsequent compute demo i hope you found
02:42this demo useful thanks for watching
Be the first to comment
Add your comment

Recommended