> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.weltpixel.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to verify the root of my Magento installation using SSH?

When working with Magento 2, you’re often asked by extension providers to connect via SSH to the **root of your Magento installation** to run installation commands.  

If you have multiple Magento installs on your server, it can be confusing to identify the correct one.  
Follow these steps to verify that you are in the right place.

---

## Step 1 — Connect via SSH
Connect to your server using an SSH client.  
Your hosting provider should supply the SSH credentials.  

> If you have connection issues, make sure your IP is whitelisted by the hosting provider.

---

## Step 2 — Navigate to your Magento root
Go to the directory where your Magento installation is located. For example:

    cd mymagentostore.com/html

---

## Step 3 — Create a test file
Create a simple text file that you’ll later check from the storefront:

    nano test.txt

Write some text inside (e.g., `verifying my magento installation`).

- Press **Ctrl + X** to exit  
- Choose **Y** to save changes

![Creating a test file with nano](https://storage.crisp.chat/users/helpdesk/website/-/a/5/d/5/a5d5a18b79938000/dd9ee192-8fa1-4e5d-811b-d21eeb_hr1z4h.png)

---

## Step 4 — Verify the file exists
List the files in your current directory:

    ls

You should see `test.txt` in the list.

![Verifying the test file exists via ls command](https://storage.crisp.chat/users/helpdesk/website/-/f/7/b/1/f7b1f6c2b8483800/069bdf01-44cb-4f8b-be42-770331_7iva75.png)

---

## Step 5 — Check from the storefront
Go to your storefront in a browser and access the file directly:

    mymagentostore.com/test.txt

You should see the text you added in Step 3.

![Accessing the test file from the storefront](https://storage.crisp.chat/users/helpdesk/website/-/a/e/b/3/aeb3557ee0e3b800/7ba86e71-41fb-4874-ac72-69b98e_14yvlce.png)

If the file displays correctly, you’ve confirmed the **root of your Magento installation**.

---

## Notes
- If the file doesn’t show up, repeat Steps 1–5 for another Magento installation path on your server until you find the correct one.  
- If you’re on **managed hosting**, you can open a ticket with your hosting support and request the installation path directly.