Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Share this Page URL
Help

Installing OpenSSH Using a Package Manag... > Installing OpenSSH Using a Package M... - Pg. 199

LinuxSSH·Chapter9 199 distribution's package manager could take up a chapter for each distribution. Because almost all package managers follow the same type of instructions, I'll focus on using apt on Ubuntu. Based on Debian Linux, Ubuntu has earned a reputation for simplicity, stability, and security. There are several graphical front ends that interact with apt (Ubuntu's base package management system), but when we install from the command line, we'll get a better feel for what we're installing and what it's doing in the background. To start, open a Terminal window (Applications | Accessories | Terminal), or log into the console on your server. Once in the command line interface (CLI), it's time to start installing and hacking together a secure method for communication between machines. The first part of the install is to refresh apt's database of available packages by typing the following command at the prompt: sudo apt-get update If you have Internet connectivity, this command will have apt go out and touch all the repositories listed in apt's source configuration file to check for new or updated packages. Once the package list is updated (Figure 9.1), it's time to install. Figure 9.1 Successful Update of Apt