Part IV. Infrastructure Services

This part provides information on how to configure services and daemons and enable remote access to a Red Hat Enterprise Linux machine.

Table of Contents

9. Managing Services with systemd
9.1. Introduction to systemd
9.1.1. Main Features
9.1.2. Compatibility Changes
9.2. Managing System Services
9.2.1. Listing Services
9.2.2. Displaying Service Status
9.2.3. Starting a Service
9.2.4. Stopping a Service
9.2.5. Restarting a Service
9.2.6. Enabling a Service
9.2.7. Disabling a Service
9.3. Working with systemd Targets
9.3.1. Viewing the Default Target
9.3.2. Viewing the Current Target
9.3.3. Changing the Default Target
9.3.4. Changing the Current Target
9.3.5. Changing to Rescue Mode
9.3.6. Changing to Emergency Mode
9.4. Shutting Down, Suspending, and Hibernating the System
9.4.1. Shutting Down the System
9.4.2. Restarting the System
9.4.3. Suspending the System
9.4.4. Hibernating the System
9.5. Controlling systemd on a Remote Machine
9.6. Creating and Modifying systemd Unit Files
9.6.1. Understanding the Unit File Structure
9.6.2. Creating Custom Unit Files
9.6.3. Converting SysV Init Scripts to Unit Files
9.6.4. Modifying Existing Unit Files
9.6.5. Working with Instantiated Units
9.7. Additional Resources
10. OpenSSH
10.1. The SSH Protocol
10.1.1. Why Use SSH?
10.1.2. Main Features
10.1.3. Protocol Versions
10.1.4. Event Sequence of an SSH Connection
10.2. Configuring OpenSSH
10.2.1. Configuration Files
10.2.2. Starting an OpenSSH Server
10.2.3. Requiring SSH for Remote Connections
10.2.4. Using Key-based Authentication
10.3. OpenSSH Clients
10.3.1. Using the ssh Utility
10.3.2. Using the scp Utility
10.3.3. Using the sftp Utility
10.4. More Than a Secure Shell
10.4.1. X11 Forwarding
10.4.2. Port Forwarding
10.5. Additional Resources
11. TigerVNC
11.1. VNC Server
11.1.1. Installing VNC Server
11.1.2. Configuring VNC Server
11.1.3. Starting VNC Server
11.1.4. VNC setup based on xinetd with XDMCP for GDM
11.1.5. Terminating a VNC Session
11.2. Sharing an Existing Desktop
11.3. VNC Viewer
11.3.1. Installing VNC Viewer
11.3.2. Connecting to VNC Server
11.3.3. Connecting to VNC Server Using SSH
11.4. Additional Resources