# Parse SSH Host Key

Parses a SSH host key and extracts fields from it. The key type can be:ssh-rsassh-dssecdsa-sha2The key format can be either Hex or Base64. Parse SSH Host Key lives in the **Networking** category of the `fx` menu.

## Parameters

| Parameter    | Type   | Required | Default | Description                                            |
| ------------ | ------ | -------- | ------- | ------------------------------------------------------ |
| Input        | string | yes      | —       | Value to transform. Previous step output or a literal. |
| Input Format | string | no       | `Auto`  | Choose one of: `Auto`, `Base64`, `Hex`.                |

`Input` is the primary value (previous step output or a literal).

## Returned value

| Type     | Description                                      |
| -------- | ------------------------------------------------ |
| `string` | Result of the Parse SSH Host Key transformation. |

## Example

<details>
<summary>Run Parse SSH Host Key</summary>

Parses a SSH host key and extracts fields from it. Adjust optional parameters when the defaults do not match your payload.

1. Set **Input** to the value to transform (previous step output or a literal).

2. Review **Input Format** and keep defaults unless your format requires otherwise.

3. Confirm **Output value** shows the transformed result.

</details>
