By 1730068
WHEN I CHANGE PORT INSIDE PUTTY SSH FROM PORT 22 TO PORT 2200. The connection refused message pops up please help
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!
Hello,
In order to connect the server on a non-standard SSH port you need to make sure that:
netstat -plant | grep -i ssh
There you should be able to see what is the port that your SSH service is listening on, if it is not 2200 then you need to use the port that you see there.
ufw status
If you do not see port 2200 there, then you could open it with this command here:
ufw allow 2200/tcp
Hope that this helps! Regards, Bobby
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.