Suddenly can't connect to sftp

Hello,

I have a big issue where I can’t connect anymore on SFTP.

It was working fairly well, I was doing some work, I deleted a .log on one of my websites (nothing special and it didn’t work because I got disconnected at the same time).

And then, I haven’t been able to get anything else than “Connection timed out”.

SSH is running.

Port 22 is listening.

I cleared the list of banned IPs

But still… I can’t make it work :frowning:

Does someone else has an idea?

Thanks

Try
sed -i 's/internal-sftp-server.*/internal-sftp/' /etc/ssh/sshd_config && systemctl restart ssh

1 Like