Answer the question
In order to leave comments, you need to log in
Why can't I connect via ssh, and how can I fix it?
ssh -v [email protected]***.***.***.***
OpenSSH_7.2p2, OpenSSL 1.0.2j-fips 26 Sep 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 58: Applying options for *
debug1: Connecting to ***.***.***.***[***.***.***.***] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/name/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/name/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/name/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/name/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/name/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/name/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/name/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/name/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2
ssh_exchange_identification: read: Connection reset by peer
Forbidden
You don't have permission to access / on this server
Answer the question
In order to leave comments, you need to log in
ssh client iterates over keys and can't get them.
Check file/folder permissions
It looks like you have configured authorization by keys, not by passwords. Generate keys for yourself, put them on the server and you will be happy.
I suspect that the provider is digitalocean, then the keys are uploaded through the admin panel.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question