I have successfully generated the ssh key, but when i tried to add it to ssh-agent it is showing me this error
** 03/03/2020   19:39.04   /home/sahilra/Desktop/DOcs/Web_Dev/git_projects ** ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/mobaxterm/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/mobaxterm/.ssh/id_rsa.
Your public key has been saved in /home/mobaxterm/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:ISmtoclG2l6aWE9wHa4AS/4jzXKy/cVJk93sU7XJNw4 sahilra@SAHILRA01
The key's randomart image is:
+---[RSA 2048]----+
|..    .          |
|oo   + o         |
|..+ + * .      . |
| =+* = .o.o   o o|
|.+B*=  +S. o E =.|
| =B*. o o . . o o|
|..+..  +   o   . |
|    . .     .    |
|     .           |
+----[SHA256]-----+
$SSH_AUTH_SOCk=/tmp/ssh-I4LHdw/agent.2102 and agent is also running
**/home/sahilra/Desktop/DOcs/Web_Dev/git_projects ** ssh-add ~/.ssh/id_rsa
Could not add identity "/home/mobaxterm/.ssh/id_rsa": agent refused operation
still the probem exists
 
     
    