Follow Us
Follow Us
querypanel.com/4611-2
Using Centos 7
1/14
Using cat cmd display id_rsa.pub keys
Paste it here id_rsa.pub keys which you have copied using cat id_rsa.pub
Chmod 600 sets permissions so that, user / owner can read, can write and can’t execute.
Group can’t read, can’t write and can’t execute. others can’t read, can’t write and can’t
So, I had created the authorized_keys now assign the permission to this particular user
So in my case root is the owner you can create user and assign the privileges
2/14
[root@rserver8 .ssh]# chmod 600 authorized_keys
3/14
…
And if you are using any user you can also disable root login
4/14
So, once authentication done restart the sshd services (Secure Shell or Secure Socket
Shell).
5/14
So here we need to convert in putty format if we don’t do it, we will get the error.
6/14
7/14
Go to ssh tab and browse the .ppk save private here we will get error because we are not
using putty format
8/14
Now open the putty generator
Once file .ppk is loaded save it to same format with new or existing name
9/14
Click to save private key
10/14
And click yes
11/14
And save it
12/14
Now open the putty type username like sharique@192.168.60.10
13/14
Open the putty for remember login
chmod 777 foldername will give read, write, and execute permissions for everyone.
chmod 700 foldername will give read, write, and execute permissions for the user only.
chmod 327 foldername will give write and execute (3) permission for the user, w (2) for
the group, and read, write, and execute for the users.
755 you can do anything; others can only read and execute
Chmod 600 sets permissions so that, user / owner can read, can write
and can’t execute. Group can’t read, can’t write and can’t execute.
others can’t read, can’t write and can’t
14/14