Configuring an SCP server on Windows


TrueSight Network Automation installs TFTP as the default file transfer protocol for devices. You can also use Secure Copy (SCP) to transfer configuration files and OS images between Network Automation and devices.

For a complete list of SCP file transfer vendors, see the Device Adapter Capabilities report attached on Supported-devices.

Follow this procedure for configuring an SCP server on Network Automation. Unlike the TFTP server, the SCP server is not installed during the Network Automation installation process outlined in the previous sections.

You must configure the SCP server to support all the ciphers and algorithms that your network devices support.

Important

Network Automation works with any OpenSSH server configuration which supports all our ciphers and algorithms. 

Important

To use the SCP transfer mode, the following users must have read/write access to the SCP Transfer Account Home Directory:

  • The local user who configures the SCP server
  • The user account who installs Network Automation or Remote Device Agent.

This topic describes how to configure the device agent for the SCP file transfer to work.

After you install an SCP server, configure the device agent as follows:

  1. Go to Admin > Device Agent.
  2. On the Device Agents page, click Add to create a new device agent or click Edit to modify an existing device agent. 
  3. Enter or edit information in the SCP fields to define the file transfer information for the device agent: 

    Field

    Description

    SCP Transfer Enabled

    (Optional)

    Enable the device agent for SCP support.

    SCP Transfer Account User Name

    (Required if SCP is enabled) 

    Specify the user name for the SCP login. If proxy file server is enabled, this user name is used by the device agent to connect to the proxy file server using SFTP client.

    SCP Transfer Account Password

    (Required if SCP is enabled) 

    Specify the password for the SCP login. If proxy file server is enabled, this password is used by the device agent to connect to the proxy file server using SFTP client.

    Confirm SCP Transfer Account Password

    (Required if SCP is enabled) 

    Re-enter the password for confirmation.

    SCP Transfer Account Home Directory

    (Required if SCP is enabled) 

    Specify where the system should store files temporarily when performing span actions.

    SCP Transfer Relative Home Directory

    (Optional if SCP is enabled)Specifies the home directory of the SCP user from the device SCP client's perspective. That is, the SCP server might treat paths supplied by a client (a device in this case) as paths relative to some configured root directory. The SCP command for some types of devices must include this relative path (indicated by use of the %scpRelativeHomeDirectory% keyword in the adapter XML code) in place of an absolute path.

    Important

    Make sure that SCP Transfer Account Home Directory is set to the SCP home directory of the user that is configured to receive SCP requests in the Device Agent configuration.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*