Technical Notes |
|
This document provides information about the best practices to use when configuring secure, encrypted communications between a trusted host and an end user's PC, using Reflection products with Reflection OpenSSH. This note provides a matrix that suggests how to configure Reflection to establish host connections with minimum, medium, or high security, and provides a list of additional security considerations for your review.
Note the following:
For Reflection security updates, see Technical Note 1708.
Reflection OpenSSH provides the following functionality:
The security matrix presented below lists Reflection OpenSSH parameters and recommends how each parameter should be configured to provide minimum, medium, or high security for your PC-to-host connection.
A complete listing of OpenSSH configuration parameters, definitions of these settings (including those shown and not shown in the following table), and each settings' default configuration can be found on the openssh.org web site (http://www.openssh.org) or, more directly, from the openbsd.org web site at http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config.
| OpenSSH Parameter |
Minimum Security |
Medium Security |
High Security |
Dialog Box* |
| ChallengeResponseAu thentication |
yes (default) |
no |
no |
|
| Cipher |
do not use (this parameter applies only to SSH1) |
do not use (this parameter applies only to SSH1) |
do not use (this parameter applies only to SSH1) |
X |
| Ciphers |
aes128-cbc, 3des-cbc, blowfish-cbc, aes192-cbc, aes256-cbc |
aes128-cbc, blowfish-cbc, aes192-cbc, aes256-cbc |
blowfish-cbc, aes256-cbc |
X |
| ClearAllForwardings |
yes |
yes |
yes |
|
| CompressionLevel |
no |
no |
no |
X |
| DynamicForward |
do not use |
do not use |
do not use |
|
| FallBackToRsh |
do not use |
do not use |
do not use |
|
| GssapiAuthentication |
no (default) |
yes |
yes |
X |
| KbdInteractiveAuth entication |
yes (default) |
no |
no |
|
| KerberosAuthentic ation |
do not use (this parameter applies only to SSH1) |
do not use (this parameter applies only to SSH1) |
do not use (this parameter applies only to SSH1) |
X |
| KerberosTgtPassing |
do not use (this parameter applies only to SSH1) |
do not use (this parameter applies only to SSH1) |
do not use (this parameter applies only to SSH1) |
X |
| PasswordAuthenti cation |
yes (default) |
no |
no |
X |
| PreferredAuthenti cations |
include all methods except: none |
include all methods except: password, none |
include only: gssapi |
|
| Protocol |
2 |
2 |
2 |
X |
| PubkeyAuthentication |
yes (default) |
yes (default) |
no |
X |
| RhostsAuthentication |
no |
no |
no |
|
| RhostsRSAAuthen tication |
no |
no |
no |
|
| RSAAuthentication |
no |
no |
no |
X |
| StrictHostKeyCheck ing |
no (default) |
no (default) |
yes |
|
| UseRsh |
no |
no |
no |
|
* In the Dialog Box column, an "X" denotes that the parameter can be configured from either the Reflection interface or by editing the "My Documents\Reflection\.ssh\config" file. Parameters that are not marked with an "X" can be configured only from the config file. For further details, see the following sections.
Reflection OpenSSH security parameters can be configured by manually editing the "My Documents/Reflection/.ssh/config" file, or through the Reflection interface. When selecting which configuration method best suits your needs, consider the following:
To set the config file for basic minimum, medium, or high security, copy and paste the appropriate section below into your "My Documents\Reflection\.ssh\config" file.
Host Bluebell Protocol 1 PasswordAuthentication yes Host Redrose Protocol 2 CompressionLevel 6 |
For example, in the sample below the Protocol and PasswordAuthentication parameters would apply to host Bluebell.flowers.com, and the CompressionLevel and LogLevel parameters would apply to all hosts in the domain, *.mycompany.
Host Bluebell.flowers.com Protocol 1 PasswordAuthentication yes Host Greenglass.mycompany.com Protocol 2 Host *.mycompany CompressionLevel 6 LogLevel INFO |
ClearAllForwardings yesPreferredAuthentications external-keyx,gssapi,publickey,keyboard-interactive,passwordRSAAuthentication noRhostsAuthentication noRhostsRSAAuthentication noChallengeResponseAuthentication noClearAllForwardings yesKbdInteractiveAuthentication noPreferredAuthentications external-keyx,gssapi,publickeyRSAAuthentication noRhostsAuthentication noRhostsRSAAuthentication noGssapiAuthentication yesChallengeResponseAuthentication noClearAllForwardings yesKbdInteractiveAuthentication noPreferredAuthentications gssapiRhostsAuthentication noPubkeyAuthentication noRSAAuthentication noRhostsRSAAuthentication noStrictHostKeyChecking yesGssapiAuthentication yesSome OpenSSH security settings can be configured through the Reflection interface. Settings configured from the Reflection interface are saved per connection, and apply only to single host connections.
Note: To configure global OpenSSH settings for connections, use the config file. (See, the Using the Config File section above.).
To configure OpenSSH security settings through the Reflection interface, follow the steps below:
Figure 1: The Reflection OpenSSH Client Settings Dialog BoxFor Reflection for UNIX and OpenVMS and Reflection for HP with NS/VT:
For Reflection X:
For Reflection FTP Client:
| OpenSSH Parameter |
Configured Using… |
| Cipher |
Click Cipher Setup, and view SSH protocol 1. Note: Cipher settings apply only to SSH1. Only SSH2 is recommended. |
| Ciphers |
Click Cipher Setup. Under SSH protocol 2, remove any SSH protocol 2 ciphers you do not wish to use and place the remaining protocols in order of preference. |
| CompressionLevel |
Under Compression, select or clear Enable compression.Note: The compression level slider control applies only to SSH protocol 1. |
| GssapiAuthentication |
Under Authentication, select or clear Kerberos key exchange. |
| PasswordAuthentication |
Under Authentication, select or clear Password. |
| Protocol |
On the Protocol drop-down menu, select a protocol. Note: SSH2 is recommended for all options on the security matrix. |
| PubkeyAuthentication |
Click Generate User Key. Select RSA or DSA key type. Note the following: If PubkeyAuthentication is enabled, you must also copy the public key from "My Documents\Reflection\.ssh\id_rsa.pub" or "My Documents\Reflection\.ssh\id_dsa.pub" to the host. For details, see the Reflection online help. Under Authentication, select or clear User key. |
| RSAAuthentication |
Click Generate User Key. Select RSA1 key type. Note the following: If RSAAuthentication is enabled, you must also copy the public key from "My Documents\Reflection\.ssh\identity.pub" to the host. For details, see the Reflection online help. RSAAuthentication applies only to SSH1. All security options suggest using SSH2 only. |
As the system administrator, you can create a customized Reflection installer that includes the OpenSSH configuration settings needed by your users. The installer method provides machine-wide OpenSSH default settings to your users.
Note the following:
When you close the OpenSSH Client Settings dialog box, non-default configuration information is saved automatically to <My Documents>\Reflection\.ssh\config. When you make connections, known host information is saved to <My Documents>\Reflection\.ssh\known_hosts.
Note: If you already have a valid set of ssh_config and ssh_known_hosts files on your hosts, you can transfer them to the administrator's PC (using FTP ASCII mode) and deploy them with the Reflection Customization Manager.
Users can now install Reflection using your customized installation. The OpenSSH settings will be available to all users of the PC running any Reflection client configured to use OpenSSH.
Review these points to help determine how strictly you want to control user configuration functionality.
Beyond configuring Reflection OpenSSH, there are many other things administrators can do to help secure a PC-to-host connection. The following is a list of some further steps to consider when designing your security environment.
Note: This list is non-inclusive. Many other security steps may be necessary in your network environment; however, the suggestions on this list should be considered when establishing your security policies.
For general information about SSH1 and SSH2, as well as information about SSH servers and clients, see the OpenSSH web page, http://www.openssh.com.