Z
Z
z_e_l_o2021-01-21 04:53:07
linux
z_e_l_o, 2021-01-21 04:53:07

Can't connect to server via SSH Ubuntu 16.04 LTS?

Connecting locally to an Ubuntu 16.04 LTS server via SSH. And very often it happens that sometimes it can’t connect at all, sometimes even if it connects, after a while the terminal hangs up and throws it out of the server. How to solve the problem?

Mini-polzovatel:~ polzovatel$ ssh [email protected]
ssh_exchange_identification: Connection closed by remote host

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
CityCat4, 2021-01-21
@CityCat4

Run server side ssh with debugging and see why it closes the connection

A
Alex Walsh, 2021-01-21
@walsh_dev

sudo ufw allow 22

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question