Product SiteDocumentation Site

Chapter 3. OpenSSH as a Client

3.1. SSH Client Config Files
3.1.1. Configuring The SSH Client System-Wide
3.1.2. Configuring The SSH Client For Individual Users
3.2. Connection Example
3.3. Using the Client Tools
This chapter describes configuring and using OpenSSH from the client, or user endpoint, connecting to a remote computer without a password, copying files with scp/sftp, running commands on remote systems, and ssh terminal output as well as the TCP processes associated with setting up a secure session over a network.

3.1. SSH Client Config Files

3.1.1. Configuring The SSH Client System-Wide

The file for the system-wide client configuration is located at /etc/ssh/ssh_config. Open it with your favourite text editor to see the available options. Changes to this file are not necessary for most common uses of ssh and its server component, sshd; however, to change an option, either comment out the option (with a '#' symbol at the front of the line) to disable the option, or remove the '#' symbol at the start of the line and add an argument to enable the option to your specification.

3.1.2. Configuring The SSH Client For Individual Users

View the ssh_config(5) manual page by entering man ssh_config in a Terminal window to see all of the available options and the effect they have on the system. Use the Page Up and Page Down keys to navigate through the manual page.