I have this droplet that can be accessed remotely using the IP (and also name). I have an ssh server listening on port 10000. I also have the standard ssh running on port 22.
When I am connected on the standard ssh (22) using the terminal, I can connect to the ssh on port 10000 with: ssh someuser@localhost -p 10000
I have also opened the port 10000 on the firewall: sudo ufw status
…
10000/tcp ALLOW Anywhere
10000/udp ALLOW Anywhere
…
10000/tcp (v6) ALLOW Anywhere (v6)
10000/udp (v6) ALLOW Anywhere (v6)
…
I do not have an external firewall on DO
If I try to connect using the standard ssh server: ssh someuser@droplet_ip_here I connect without problems
Problem: When I try to connect from a remote machine: ssh someuser@droplet_ip_here -p 10000 I get connection refused
Is there another firewall??
UPDATE: It turns out that it was the ssh config: The ssh server on port 10000 is a SSH tunnel, and needed to allow PortForwarding on the sshconfig file
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!
It turns out that it was the ssh config: The ssh server on port 10000 is a SSH tunnel, and needed to allow PortForwarding on the sshconfig file
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.