ssh authentication with key based access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey friends,


I have configured FC3 .I want to do  key based access to the Server

What I have done is that

ssh-keygen -t dsa.

I imported the id_dsa.pub to the server .Then 

cat id_dsa.pub >> .ssh/authorized_keys.

I have checked the permission for .ssh it is 700 and for
authorized_keys it is 600.


Under /etc/ssh/sshd_config it is can seen that the Authorizedfiles is
authorized_keys.
AuthorizedKeysFile      .ssh/authorized_keys

I checked the log /var/log/secure but it seems there is no error in logs.

The logs are

May 20 16:12:16 mail sshd[6967]: Accepted password for agrover from ::ffff:192.1
68.1.13 port 4801 ssh2
May 20 16:14:41 mail sshd[6998]: Accepted password for agrover from ::ffff:192.1
68.1.13 port 4804 ssh2
May 20 16:22:21 mail sshd[7037]: Accepted password for agrover from ::ffff:192.1
68.1.13 port 4845 ssh2
May 20 16:26:21 mail sshd[7071]: Accepted password for agrover from ::ffff:192.1
68.1.13 port 4861 ssh2
May 20 16:30:34 mail sshd[7084]: Accepted password for agrover from ::ffff:192.1
68.1.13 port 4935 ssh2
May 20 16:31:06 mail sshd[7113]: Accepted password for agrover from ::ffff:192.1
68.1.55 port 35647 ssh2
May 20 16:31:38 mail sshd[7147]: Accepted password for agrover from ::ffff:192.1
68.1.55 port 35648 ssh2
May 20 16:32:50 mail sshd[7179]: Accepted password for agrover from ::ffff:192.1
68.1.13 port 4994 ssh2

I have not changed anything in sshd_config under /etc/ssh.

Can anybody guide me what wrong steps I am following.

Thanks & Regards

Ankush Grover


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux