hello shubham this side
Saved transcript
🔐 SSH क्या है? Linux में SSH Keys Generate और Configure करना सीखें (हिंदी में Full Guide)
Channel: Career In IT With Shubham
So Guys today i have very good Topic as we are going to discuss about ssh in LINUX
What is SSH Key and how we can create ssh key over LINUX terminal
So Guys First point , What is SSH ?
SSH full form (Secure Socket Shell)
This is simply known as Secure Socket shell it is crop graphic protocol, it is the
primary one, it is used
to enable Seeker Access, remote server and device can also access all the internet, supose date, you have two laptops, you have
If you wanna connect securely both laptops, so where you can use ssh key to get remote server access
for this purpose, we use SSH key,
I Would like to tell you that SSH key is too Secure form
in which password information share in encrypted form
You can not easily read this information
Even all banks Save , Share user password related infrormation in encrypted form
so guys this is example of SSH, and SSH key used for this purpose
These are few reasons because of these we use ssh key
Secure Access to remote systems
Secure execution of commands on remote systems
Secure remote delivery of software updates
Secure Interactive and automated file transfers
As you can share your all information between to servers or two laptops after get the remote access by the ssh key
and information will be in encrypted form, and nobody can read and access,
and it is difficult to read as compare to password
Auto-login to Servers
IF you server connected through ssh key, so you can easily auto login
basically Two keys comes under SSH key
first is our private key and second is our Public Key
How we can create ssh key over Linux Terminal
We will use this command "ssh-keygen" to create ssh key
How we can create over Linux terminal ,I will show you
If you are working in IT Industry and you need any application access,
so IT team might say share your private key,
so remember you always need to share public key,not private key
because the private key is there, it is a secret information, regarding your system,
does not have to be shared. you have to share the public key only
How you can identify public key or private key
Your Public key will be this " id_rsa1.pub"
Your Private key will be this " id_rsa1
key By the way you can identify
so guys now we do practical on Linux Terminal
so Guys I have Opened my Linux terminal
Simply i have created Linux Ec2 instance on AWS Cloud
I will just press "ssh-keygen" without any Space, then enter
now asking about path where i wanna save ssh key
For Default Save just need to press enter
. that you have already created do you want to overact that
Yes I will just press enter , Again will press enter
Now you can see my SSH Key has created successfully and it is encrypted form
and I am unable to read
Now I Just wanna see ,Public key AND " Private"
Both Key successfully created or not, and on which location both are available .
what is file name
I will just press ls -lrt, no information is coming
We have to use ls -a because this is hide file
Now all hide file are visible after use "ls -a "
Now you can see one folder is create which name is .ssh
I will Open folder
Now I will do listing " ls -lrt" to see the file and folder
I have two files in .ssh folder
First file is "Id_rsa" (Public key), I will Open this
You can copy and share with Anyone individually
This is Public key
Now we talk about Private key, Dont share
We use cat for Open any txt file, will open this file by cat command
can share the public key of your system and ask for the private key, but you do not have to share the private key,
How you can create i have already told you
so guys if you have any doubt regarding this video you can mention in comment if
you have any other query you can mention in comment The video is good, it is important for you,
okay, you can watch it, and do like and subscribe, if you have any doubt, please mentioned in comment
thank you so much for watch by