Trying to connect WordPress droplet with SSH

Help will be appreciated.

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Having not much exposure to working in consoles, I am not sure in which console I need to put commands.

  1. Is it the console that opens from PuTTY (screenshot 2)
  2. Is it the console that opens after clicking Launch Console (screenshot 1)

Or are they just alternative way to get the same work done?

Hi @DigitalSplendid,

You can try and allow your IP address in your droplet’s firewall.

Please try with the following lines

iptables -A INPUT -p tcp -s XXX.XXX.XXX.XXX -j ACCEPT
iptables -A OUTPUT -p tcp -d  XXX.XXX.XXX.XXX -j ACCEPT

You can replace XXX.XXX.XXX.XXX with your own personal IP address. To get your own IP address, click here

As soon as you’ve added your IP, save the iptables configuration

iptables save

If you wish to read more on Iptables and how to use them, you can check this DO article - Iptables Essentials

Regards, KDSys