SSH Login with RSA key Problem


When i am trying to login with RSA key. It showing the below message.

Please help me to resolve the issue. I also disabled the console path.


Do you have multiple boards or modules that you are connecting to with a single computer?

I put this snippet in my ~/.ssh/config to eliminate the nagging caused by connecting to many different boards (all of which are at IP

    StrictHostKeyChecking no
    LogLevel ERROR


@dfrey Thans for the reply,
I am unable to login after the following procedure,

Step 1: ssh-keygen -t rsa
step 2: ssh-copy-id -i ~/.ssh/ root@

It shows permission denied.

Please help me resolve this issue…



Just read the message again. It gives you the command to fix the problem. Type on your terminal the line that starts with "ssh-keygen… "


@leoheck I tried lot of times… but problem not solved… if you have any other suggestion, pls let me know…


Try using sudo before the command


Sure I have.

If you are in linux, open ~/.ssh/known_hosts

And delete a line that has on it.

You can also delete the file itself.


@leoheck Thanks… Tried those ideas… But Not Resolving


Thanks… I think you are helping me a bit… by adding sudo command the key saved in root/.ssh/

But unable to copy the key from root…

Please suggest me, how to navigate to root folder…