Documentation

Visit Our xCloud Knowledge Base

Here is your one-stop source for in-depth articles, FAQs, and tutorials for you to excel at hosting & managing your websites.


Understanding Sudo Users And Site Users In xCloud

xCloud has two different types of system users: Sudo Users and Site Users. They have different roles, helping to manage servers and sites securely. Here’s a quick look at each: 

Sudo Users In xCloud #

xCloud disables the default password login for the root user. You can make sudo users with sudo access to run commands as the root, helping you manage the server well.

Things You Need To Know About Sudo User In xCloud: 

Sudo users possess complete system access, enabling them to view and modify all sites on a server. Creating sudo users for clients to access their sites should be avoided unless granting root access is absolutely necessary. 
Multiple sudo users can be assigned to a server, with public key authentication being a mandatory security measure for all sudo users.

How To Add Sudo Users In xCloud? #

With xCloud, you can add multiple sudo users to maintain a healthy workflow. Simply head over to the server dashboard and click on โ€˜Add Sudo Userโ€™ to add yours.

Sudo Users And Site Users

After clicking, you will be redirected to the sudo user management section. Here you need to add an SSH key first by clicking on โ€˜Add SSH Keyโ€™ as shown below if you donโ€™t have any already. To learn how to generate an SSH key, follow this documentation.

Sudo Users And Site Users

Now, name it as you wish & paste your SSH key in the โ€˜Public Keyโ€™ field.

Sudo Users And Site Users

In this step, you will need to add your โ€˜Sudo Username,โ€™ and โ€˜Sudo Passwordโ€™ & make sure youโ€™ve checked your SSH key from the list below. After all the changes, click on the โ€˜Save’ button and you are good to go.

Sudo Users And Site Users

If youโ€™ve followed everything correctly so far, youโ€™ll get your sudo user listed as shown below. This is how you can easily add sudo users in xCloud.

Sudo Users And Site Users

Site Users In xCloud #

In xCloud, Site Users are specific users tied to each site. They can use SSH and SFTP to access the server but are limited to their own site’s files. This restriction ensures they can’t access files from other sites or sensitive system files. Site Users are handy for granting SFTP access to clients, allowing them to manage their sites without meddling with others on the server.

For any direct changes or WP CLI commands on a site, it’s advisable to use the site user. This helps avoid file ownership problems and eliminates the need for manual adjustments. The home directory for a site user is located at: /sites/{domain}.

Things You Need To Know About Site User In xCloud:

Site users have limited accessโ€”they can’t navigate to directories of other sites or tweak server configurations like Nginx or PHP settings. They lack sudo access, preventing them from executing commands with root privileges. Instead, users are designated to clients needing SFTP access for site management. Authentication options include public key or password methods.

Each site is associated with a single user, but if public key authentication is used, multiple SSH keys can be assigned. This setup ensures secure and controlled access, with users adhering to specific permissions tailored to their site management requirements.

How To Add Site Users In xCloud? #

To add the site user in xCloud, simply head over to the server dashboard & click on your server. Then navigate to SSH/sFTP Access to add the new site users.

Sudo Users And Site Users

Here, youโ€™ll get your username, path, and SSH string automatically filled up. Now you can create your site users following two methods: Public Key & Password. 

Public Key: Click on โ€˜Public Keyโ€™, paste your SSH key, check the name youโ€™ve set while opening the SSH key, & click on โ€˜Save.โ€™

Sudo Users And Site Users

Password: if you want to use the Password option for the site users, click on โ€˜Passwordโ€™, set the password & click on โ€˜Save.โ€™ This is how you can easily add site users in xCloud.

Sudo Users And Site Users

Now you can connect your xCloud server using SFTP as Sudo Users or Site Users by following this documentation.

Still confused or if you need any help with anything? Contact our support team right away.

What are your feelings
Updated on July 28, 2024

Server Name

RAM

SSD

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Newcomer

1GB

25GB

$4.50

$5.00

$6.00

Basic

2GB

55GB

$9.00

$10

$12.00

Standard

4GB

80GB

$18.00

$20

$24.00

Professional

8GB

160GB

$36.00

$40

$48.00

Business

16GB

320GB

$72.00

$80

$96.00

Server Name

RAM

SSD/NVMe

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Lite

1GB

32GB

$5.40

$6.00

$8.00

Personal

2GB

88GB

$16.20

$18.00

$24.00

Growing

4GB

128GB

$21.60

$24.00

$32.00

Elite

8GB

256GB

$43.20

$48.00

$64.00

Titanium

8GB

384GB

$86.40

$96.00

$96.00

Ultimate

32GB

512GB

$172.80

$192.00

$192.00