Important

   

Starting version 8.9.03, BMC Network Automation is renamed to TrueSight Network Automation. This space contains information about BMC Network Automation 8.9.02 and previous versions. For TrueSight Network Automation 8.9.03 and later releases, see the TrueSight Network Automation documentation.

Installing an SSH and SCP server on Windows

BMC Network Automation installs TFTP as the default file transfer protocol for devices. Secure Copy (SCP) can also be used to transfer configuration files and OS images between BMC Network Automation and devices. See the Device Adapter Capabilities report attached on Supported devices for a complete list of vendors supported by the product for SCP file transfers. 

Follow this procedure for installing or configuring an SSH server on various platforms for BMC Network Automation. Unlike the TFTP server, the SSH server is not installed during the BMC Network Automation installation process outlined in the previous sections.

Microsoft Windows does not include an SSH server by default. BMC recommends the open-source copSSH server.

This topic describes how to download and install the copSSH server and how to configure the device agent for the SCP file transfer to work. For communication between device agents and the application server, see Device agents.

To install the copSSH server

  1. Download the latest copSSH from http://www.itefix.no/i2/copssh or another mirror site.
    The following steps get you started, but review the online instructions in the copSSH site for more details and advanced configuration instructions.
  2. Extract and start the installation wizard by double-clicking Copssh_x.x.x_Installer.exe.
  3. Accept the default installation location: C:\Program Files\ICW
  4. When the wizard prompts you for the user account under which the copSSH server runs, override the default values and provide the user name and password of the service account.
    The server is automatically activated as a Windows service when the copSSH installation finishes.
  5. To activate a user, go to Start > Programs > Copssh > Activate a User. The wizard prompts you to select the user account from the list of Windows users. Select a user and accept the defaults for the other fields. You can deactivate a user in the same way.
    If you ever need to uninstall, you can do so from the Windows Start menu or from the Add/Remove Programs panel.

After you install

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

  1. Open the Device Agents page by navigating to Admin > Device Agent.

  2. Click Add in the menu to create a new device agent, or select the Edit action 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 (see step 4 on Add or edit a device agent).

    Note

    Ensure that SCP Transfer Account Home Directory is set to the copSSH home directory of the user that is configured to receive SSH requests in the Device Agent configuration. For example. if the user is bcan, the value is: C:\Program Files\ICW\home\bcan.

Was this page helpful? Yes No Submitting... Thank you

Comments

  1. Amol Kotwal

    There is very little information on installing and configuring of the copSSH server which BNA use for configurations transfer through SCP. This document also does not contain enough details about how copssh and scp works. Appreciate if someone from BMC shed some light on it.

    Aug 17, 2017 04:10
    1. Sulekha Gulati

      Thanks for bringing this up, Amol. 

      I have documented the BNA configuration process in a separate section (After you install). The reason for not providing information about copSSH is that it is a third-party product and we provide limited information about third-party products in BMC documentation because the third-party documentation may change. Documentation for copSSH is available at http://www.itefix.no/i2/copssh. Please let us know if you need any other information.

      Aug 17, 2017 04:30