Skip to main content

SSH

An SSH directory can be defined as an input and/or output location for your videos using either the LightFlow portal or API.

Using the LightFlow Portal

Click the SSH icon on the I/O Storage page:

On the SSH Storage Creation page that appears, enter the following information:

  • Name: Name of the SSH location as it will be displayed in LightFlow
  • SSH server hostname: Azure bucket name
  • SSH username: Azure account name
  • SSH key: Private key associated with the SSH account (choose a file to upload)
  • Type of storage: Select Input, Output or Input & Output (the same bucket can be selected for input and also as a repository for the output files)

Using the LightFlow API

To create an SSH endpoint with the API, send a POST instruction to api.lightflow.media/inputs-outputs

The response will include the unique identifier of the input/output storage location, which can be later selected as input (InputId) and/or output (OutputId) when posting a video.


BASH
curl 'https://api.lightflow.media/inputs-outputs'
-H 'authorization: Bearer
-H 'content-type: application/json'
--data-binary '{
    "storageId":"ssh",
    "storageType":"input-output",
    "name":"My own SSH storage"
    "args":[{
        "id":"host",
        "value":"xxx.lightflow.com"
    },{
        "id":"port",
        "value":21"
    },{
        "id":"username",
        "value"user"
    },{
        "id":"password",
        "value"pwd"

    }]
  }'




JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.