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
- 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. - Extract and start the installation wizard by double-clicking Copssh_x.x.x_Installer.exe.
- Accept the default installation location: C:\Program Files\ICW
- 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. - 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:
- Open the Device Agents page by navigating to Admin > Device Agent.
- Click Add in the menu to create a new device agent, or select the Edit action to modify an existing device agent.
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).