Ni!
I’ve correctly configured sshd to listen on port 1723, that is:
Apparently, see logs below, it gets to the point that a connection (a tcp connection) is established, but doesn’t get through on the ssh level.
I need it to listen on port 1723 because, on a network I use often, it is the only allowed port besides 80 and the server already listens on 80 for web connections. I have never configured a VPN (port 1723 is usually a VPN port) on this server.
Any ideas? Any chance this is a problem from DigitalOcean’s side? Something within sshd?
This is what I get from the outputs/logs after the connection times out:
Client side:
$ ssh -vvv
Connection established.
...
ssh_exchange_identification: read: Connection reset by peer
Server side:
Log:
sshd[xxx]: Did not receive identification string from x.x.x.x
Netstat:
tcp 0 39 x.x.x.x:1723 y.y.y.y:44983 ESTABLISHED 23401/sshd: [accepted]
Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @xMudrii , thanks, I had tried under two different and quite distinct networks - one wifi another cellphone - and got the same result, so I assumed it was not a network problem, but since you’ve mentioned it again I’ve now I’ve tried under a third network and it does work. So it is indeed the client networks blocking, not an issue with my server at all. Thanks.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.