How to Use PuTTY on Ubuntu to Connect to APC UPS

Written by marissa robert Google
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Use PuTTY on Ubuntu to Connect to APC UPS
(Stockbyte/Stockbyte/Getty Images)

PUTTY is a program that runs on Ubuntu as well as other operating systems. It allows you to open a terminal window for a remote computer. It is useful for managing servers because they do not generally have monitors connected to them. To keep your servers running smoothly when there is a power outage, you want to use an uninteruptable power supply (UPS). An American Power Conversion Corp. (APC) UPS allows you to manage how the servers shut down if the need arises, and you can use PUTTY to set up that system.

Skill level:


  1. 1

    Plug the server you want to use into an APC UPS and power it on. You need to plug both the power cord and the USB cord into the UPS. Turn on your Ubuntu machine as well.

  2. 2

    Click on the "Applications" menu and hover over the "Accessories" submenu. Choose PUTTY from the list of applications that comes up. If PUTTY is not already installed on your Ubuntu machine, you can install it from the Ubuntu Software Center or the Synaptic Package Manager.

  3. 3

    Select the "Session" option from the list on the left side of the PUTTY window. Enter the Host Name or the IP address of the server you want to access in the field labelled for it and the port number. Make sure the SSH option is selected.

  4. 4

    Press the "Open" button. This brings up a new window, which is a terminal connection to the server.

  5. 5

    Enter your user name and password for the server. This brings up a prompt.

  6. 6

    Install APCUPSD on the server. If the server is also running Ubuntu, enter the following command:

    sudo apt-get install apcupsd-cgi

    This process may vary depending on which operating system is running on the server. The APCUPSD User Manual has information for installation on other operating systems.

Tips and warnings

  • You need to have APACHE 2 installed and configured on your server for APCUPSD to work properly. The proper settings differ depending on how you are using your server. Control-Escape has a guide to help you configure APACHE 2 for your server. To install APACHE 2, enter the following command in your terminal:
  • sudo apt-get install apache 2

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.