How do I remove SSH access on digital ocean?

[et_pb_section fb_built=”1″ _builder_version=”4.9.3″ _module_preset=”default”][et_pb_row _builder_version=”4.9.3″ _module_preset=”default”][et_pb_column type=”4_4″ _builder_version=”4.9.3″ _module_preset=”default”][et_pb_text _builder_version=”4.9.3″ _module_preset=”default” hover_enabled=”0″ sticky_enabled=”0″]

How do I remove SSH access

Depending on how you login to root…if you logged in with a key file you would have to switch to a different key file by generating a new one and replacing the old one in the authorized keys…

If you did not use keys files and used a password…sadly you would have to reset the password…there is not a workaround since he knows the password and the username for ssh…what are you going to do? Make him forget it?

You shouldn’t be using the root account anyway in case you execute the wrong there is no going back…

What you could do is make another user account with sudo privilege’s using the same password just different name and disable root login…

       How do I migrate WordPress site from shared hosting to Digital Ocean?

[/et_pb_text][et_pb_text _builder_version=”4.9.3″ _module_preset=”default”]

If you gave the developer root access, you’ll need to change the root password or upload a new authorized key list.

If you gave the developer a separate user account, you can lock it with:

  • /usr/bin/passwd developer_user -l 

Or, delete it:

  • /usr/sbin/userdel developer_user 

That should do it.

[/et_pb_text][et_pb_text _builder_version=”4.9.3″ _module_preset=”default”]

If he is having an SSH access as a different user, then you can remove the user from users list. That way you can deny his access. If you login to digital ocean server with say Ubuntu@xx.xx.xx.xx, then you need disable or remove user Ubuntu and create a new user and add him to sudo users.

From security is always better to change root password when an employee leaves. Root user can compromise your all year’s work.

[/et_pb_text][et_pb_text _builder_version=”4.9.3″ _module_preset=”default” custom_padding=”10px|||||”]

The “internet” doesn’t really know what qualifies as you. So, you need to tell it.

  • You could set up an IP address limitation for port 22 (the default SSH port). Look into iptables for that.
  • If, more likely, you are looking for a way to disable SSH access for certain users on your server, look into this guide, particularly the section titled “Limiting the Users Who can Connect Through SSH”.
[/et_pb_text][et_pb_video src=”https://www.youtube.com/watch?v=zmglIW_ZNGY” _builder_version=”4.9.3″ _module_preset=”default”][/et_pb_video][et_pb_social_media_follow _builder_version=”4.9.3″ _module_preset=”default” text_orientation=”center” global_module=”10723″][et_pb_social_media_follow_network social_network=”facebook” url=”https://www.facebook.com/zoho” _builder_version=”4.9.3″ _module_preset=”default” background_color=”#3b5998″ follow_button=”off” url_new_window=”on”]facebook[/et_pb_social_media_follow_network][et_pb_social_media_follow_network social_network=”twitter” url=”https://www.twitter.com/zoho” _builder_version=”4.9.3″ _module_preset=”default” background_color=”#00aced” follow_button=”off” url_new_window=”on”]twitter[/et_pb_social_media_follow_network][et_pb_social_media_follow_network social_network=”linkedin” url=”https://www.linkedin.com/company/zoho” _builder_version=”4.9.3″ _module_preset=”default” background_color=”#007bb6″ follow_button=”off” url_new_window=”on”]linkedin[/et_pb_social_media_follow_network][et_pb_social_media_follow_network social_network=”instagram” url=”https://www.instagram.com/business_tools_online/” _builder_version=”4.9.3″ _module_preset=”default” background_color=”#ea2c59″ follow_button=”off” url_new_window=”on”]instagram[/et_pb_social_media_follow_network][/et_pb_social_media_follow][/et_pb_column][/et_pb_row][/et_pb_section]

What is a droplet on Digital Ocean?

[et_pb_section fb_built=”1″ _builder_version=”4.9.3″ _module_preset=”default”][et_pb_row _builder_version=”4.9.3″ _module_preset=”default”][et_pb_column type=”4_4″ _builder_version=”4.9.3″ _module_preset=”default”][et_pb_text _builder_version=”4.9.3″ _module_preset=”default” hover_enabled=”0″ sticky_enabled=”0″]
[/et_pb_text][et_pb_text _builder_version=”4.9.3″ _module_preset=”default”]

A “droplet” is simply what DigitalOcean calls their Virtual Machines (VMs) in their Infrastructure-as-a-Service (IaaS).

[/et_pb_text][/et_pb_column][/et_pb_row][et_pb_row _builder_version=”4.9.3″ _module_preset=”default”][et_pb_column type=”4_4″ _builder_version=”4.9.3″ _module_preset=”default”][et_pb_video src=”https://www.youtube.com/watch?v=kzThZOZj1S4″ _builder_version=”4.9.3″ _module_preset=”default”][/et_pb_video][et_pb_post_slider posts_number=”5″ include_categories=”139″ _builder_version=”4.9.3″ _module_preset=”default”][/et_pb_post_slider][et_pb_social_media_follow _builder_version=”4.9.3″ _module_preset=”default” text_orientation=”center” global_module=”10723″][et_pb_social_media_follow_network social_network=”facebook” url=”https://www.facebook.com/zoho” _builder_version=”4.9.3″ _module_preset=”default” background_color=”#3b5998″ follow_button=”off” url_new_window=”on”]facebook[/et_pb_social_media_follow_network][et_pb_social_media_follow_network social_network=”twitter” url=”https://www.twitter.com/zoho” _builder_version=”4.9.3″ _module_preset=”default” background_color=”#00aced” follow_button=”off” url_new_window=”on”]twitter[/et_pb_social_media_follow_network][et_pb_social_media_follow_network social_network=”linkedin” url=”https://www.linkedin.com/company/zoho” _builder_version=”4.9.3″ _module_preset=”default” background_color=”#007bb6″ follow_button=”off” url_new_window=”on”]linkedin[/et_pb_social_media_follow_network][et_pb_social_media_follow_network social_network=”instagram” url=”https://www.instagram.com/business_tools_online/” _builder_version=”4.9.3″ _module_preset=”default” background_color=”#ea2c59″ follow_button=”off” url_new_window=”on”]instagram[/et_pb_social_media_follow_network][/et_pb_social_media_follow][/et_pb_column][/et_pb_row][/et_pb_section]

How do I migrate WordPress site from shared hosting to Digital Ocean?

[et_pb_section fb_built=”1″ _builder_version=”4.9.3″ _module_preset=”default” collapsed=”off”][et_pb_row _builder_version=”4.9.3″ _module_preset=”default”][et_pb_column type=”4_4″ _builder_version=”4.9.3″ _module_preset=”default”][et_pb_text _builder_version=”4.9.3″ _module_preset=”default”]

[/et_pb_text][et_pb_text _builder_version=”4.9.10″ _module_preset=”default” custom_padding=”15px|||||”]

So this actually isn’t a hard project. There are just a few basic steps:

  1. Create your instance in Digital Ocean. I believe they have a 1 click wordpress install.
  2. Create a backup of your current site
  3. Import it into the new wordpress site
  4. Update the DNS on your domain.

This simplifies the process but with a plugin it shouldn’t be too hard to move your WordPress site over.

[/et_pb_text][et_pb_video src=”https://www.youtube.com/watch?v=5azO241i1jo” _builder_version=”4.9.3″ _module_preset=”default”][/et_pb_video][et_pb_post_slider posts_number=”5″ include_categories=”139,2″ bg_overlay_color=”#0C71C3″ _builder_version=”4.9.10″ _module_preset=”default”][/et_pb_post_slider][et_pb_social_media_follow _builder_version=”4.9.3″ _module_preset=”default” text_orientation=”center” global_module=”10723″][et_pb_social_media_follow_network social_network=”facebook” url=”https://www.facebook.com/zoho” _builder_version=”4.9.3″ _module_preset=”default” background_color=”#3b5998″ follow_button=”off” url_new_window=”on”]facebook[/et_pb_social_media_follow_network][et_pb_social_media_follow_network social_network=”twitter” url=”https://www.twitter.com/zoho” _builder_version=”4.9.3″ _module_preset=”default” background_color=”#00aced” follow_button=”off” url_new_window=”on”]twitter[/et_pb_social_media_follow_network][et_pb_social_media_follow_network social_network=”linkedin” url=”https://www.linkedin.com/company/zoho” _builder_version=”4.9.3″ _module_preset=”default” background_color=”#007bb6″ follow_button=”off” url_new_window=”on”]linkedin[/et_pb_social_media_follow_network][et_pb_social_media_follow_network social_network=”instagram” url=”https://www.instagram.com/business_tools_online/” _builder_version=”4.9.3″ _module_preset=”default” background_color=”#ea2c59″ follow_button=”off” url_new_window=”on”]instagram[/et_pb_social_media_follow_network][/et_pb_social_media_follow][/et_pb_column][/et_pb_row][/et_pb_section]