SSH authentication failed

Richard Rublev

I am using this link

https://www.digitalocean.com/community/tutorials/how-to-connect-to-your-droplet-with-ssh

I got this

root@milenko-HP-Compaq-6830s:~# ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-L0mlehDNyPEa/agent.18238; export SSH_AUTH_SOCK;
SSH_AGENT_PID=18239; export SSH_AGENT_PID;
echo Agent pid 18239;
root@milenko-HP-Compaq-6830s:~# ssh-add ~/.ssh/id_rsa
/root/.ssh/id_rsa: No such file or directory

What does this mean?

root@milenko-HP-Compaq-6830s:~/.ssh# ls
known_hosts

ps aux | grep ssh
root     17889  0.0  0.0  11232   332 ?        Ss   14:04   0:00 ssh-agent -s
root     17983  0.0  0.0  11232   332 ?        Ss   14:07   0:00 ssh-agent -s
root     17988  0.0  0.0  11232   332 ?        Ss   14:07   0:00 ssh-agent bash
root     18032  0.0  0.0  11232   332 ?        Ss   14:10   0:00 ssh-agent
root     18034  0.0  0.0  11232   332 ?        Ss   14:11   0:00 ssh-agent
root     18056  0.0  0.0  11232   328 ?        Ss   14:11   0:00 ssh-agent -s
root     18237  0.0  0.0  11232   332 ?        Ss   14:22   0:00 ssh-agent -s
root     18239  0.0  0.0  11232   332 ?        Ss   14:22   0:00 ssh-agent
root     18405  0.0  0.0  21292   952 pts/2    S+   14:32   0:00 grep --color=auto ssh

Inside known_hosts is my pyblic key. What is wrong?

Jakuje
/root/.ssh/id_rsa: No such file or directory

What does this mean?

It means exactly what it says. The file does not exists. The tutorial expects you to have such keys somehow. It is discussed in the comments how to create a key (ssh-keygen).

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

ssh Authentication failed on Mac

From Dev

SSH failed public key authentication

From Dev

Ident authentication failed on PostgreSQL through SSH tunnel

From Dev

SSH Authentication Failed when trying to clone a git repo in SourceTree

From Dev

Xcode - Authentication failed error when adding repository with SSH auth

From Dev

Capistrano from rc.local ssh authentication failed

From Dev

Debian - remote SSH authentication failed after numerous attempts of fixing it

From Dev

How to reduce the SSH failed login attempts because of authentication?

From Dev

SSHKit::Runner::ExecuteError: Exception while executing on host Net::SSH::AuthenticationFailed: Authentication failed

From Dev

Cannot run cap production deploy:initial with Net::SSH::AuthenticationFailed: Authentication failed for user?

From Dev

FEDEX API, Authentication Failed

From Dev

Public Key authentication failed

From Dev

Authentication failed for user: null

From Dev

Authentication failed on the git remote

From Dev

Authentication failed for Azure Git

From Dev

MongoDB 3.2 authentication failed

From Dev

Django authentication : CSRF Failed

From Dev

Failed NetSuite RESTlet authentication

From Dev

Mongolab Authentication Failed Java

From Dev

"Authentication failed" in Wayland application

From Dev

Authentication failed for user: null

From Dev

Mongoose throwing `Authentication failed`

From Dev

postgres ident authentication failed

From Dev

SmartGit Hg "Authentication Failed"

From Dev

Public Key authentication failed

From Dev

MongoDB authentication failed?

From Dev

useradd PAM authentication failed

From Dev

Failed NetSuite RESTlet authentication

From Dev

Shiro Authentication failed

Related Related

HotTag

Archive