# PAN-OS and Panorama SSH/Manual Collection

If Epiphany's collectors can't reach your assets via an API or SSH, data can be manually collected for the network modeling process. A command line interface (CLI) connection to the devices will be needed, as well as a terminal emulator such as Putty or SecureCRT, capable of logging data presented via the **show** commands used.

#### Step 1:&#x20;

* Authenticate to the device.
* Have the PAN-OS CLI output data in an XML format. Copy and paste the following commands into the CLI in operational mode:

```
set cli op-command-xml-output on
```

* Get the full running configuration of PAN-OS or Panorama. Copy and paste the following commands into the CLI in operational mode:

```
show config running
```

#### Step 2:

* Once all data is collected from the Palo Alto appliances, create a .zip named **Collector\_Upload\_PANOS.zip** containing the data from the Palo Alto appliances. To SCP the file to Epiphany's on-premises collector, continue to the next step.&#x20;

#### Step 3:

* Using a web browser, go to your Epiphany dashboard
* Download the PEM file to the local device.
* Once the PEM file is downloaded, it can be used to perform SCP of the compressed map folder to the Epiphany Collector.

#### Step 4:

Send the file to the ‘upload’ user using the following commands, based on your operating system:

{% tabs %}
{% tab title="Linux" %}

* Send the file to the ‘upload’ user using the following commands:

```
scp -i ~/.ssh/key.pem <Collector_Upload> upload@<Collector_IP>:~/upload
```

{% hint style="warning" %}
The PEM file and map file can be anywhere on the file system, so provide that file’s pathway for the SCP command.
{% endhint %}
{% endtab %}

{% tab title="Windows" %}

* Enable OpenSSH Client on Windows 10 by going to **Settings** > **Apps and features** > **Optional Features**
* Select **Add a feature**.
* Search for **OpenSSH Client**. If it's not already installed, install it. &#x20;
* Open a command prompt and use the following command:

```
scp -i ~/.ssh/key.pem < Collector_Upload> upload@<Collector_IP>:~/upload
```

{% hint style="warning" %}
The PEM file and map file can be anywhere on the file system, so provide that file’s pathway for the SCP command.
{% endhint %}
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.reveald.com/technical-documentation/data-sources-early-access/palo-alto-pan-os-and-panorama/pan-os-and-panorama-ssh-manual-collection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
