S
S
Sergey Pribylskiy2018-06-04 19:56:12
SSH
Sergey Pribylskiy, 2018-06-04 19:56:12

SSH Debina9 (DigitaoOcean) + MacOS?

Good evening!
Trouble happened. Created a Debian9.4 server on DigitalOcean, uploaded SSH keys. When trying to access the server via ssh from MacOS, the error
ssh_exchange_identification: Connection closed by remote host occurs.
If you connect from another machine running Linux, it logs in without problems.
[email protected] ~/.ssh $ ssh do2 -vvvvv
OpenSSH_7.6p1, LibreSSL 2.6.2
debug1: Reading configuration data /Users/sergey/.ssh/config
debug1: /Users/asp/.ssh/config line 4: Applying options for do2
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 46.101.181.143 port 22.
debug1: Connection established.
debug1: identity file /Users/sergey/.ssh/id_rsa type 0
debug1: key_load_public: No such file or directory
debug1: identity file /Users/sergey/.ssh/id_rsa-cert type -1
debug1: Local version string SSH-2.0 -OpenSSH_7.6
ssh_exchange_identification: Connection closed by remote host

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Mirilaczvili, 2018-06-05
@2ord

uploaded ssh keys.
Mac keys installed and uploaded to DO?

S
Sergey Pribylskiy, 2018-06-05
@ASP

Yes, the public key is uploaded to the account control panel and vds

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question