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 Secure Shell. This note provides a matrix that suggests how to configure Reflection to establish SSH 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 Secure Shell provides the following functionality:
The security matrix presented below lists Reflection Secure Shell 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 SSH 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.
| Secure Shell 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 |
X |
| 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 |
X |
| 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\Attachmate\Reflection\.ssh\config" file. Parameters that are not marked with an "X" can be configured only from the config file. For more details, see the following sections.
Reflection Secure Shell security parameters can be configured by manually editing the "My Documents/Attachmate/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\Attachmate\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 Secure Shell 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 Secure Shell settings for connections, use the config file (see Using the Config File above), or create an SSH config scheme from within the user interface.
To configure Secure Shell settings using the Reflection interface, follow the steps below:
For Reflection for UNIX and OpenVMS and Reflection for HP with NS/VT:
For Reflection X:
For Reflection FTP Client:
| Secure Shell Parameter |
Configured Using… |
| Cipher |
Encryption tab. View SSH protocol 1. Note: Cipher settings apply only to SSH1, which has been deprecated. Using SSH2 is highly recommended. |
| Ciphers |
Encryption tab. Under SSH protocol 2, remove any SSH protocol 2 ciphers you do not wish to use and order the remaining protocols by preference. |
| CompressionLevel |
General tab. Select or clear Enable compression.Note: The compression level slider control applies only to SSH protocol 1. |
| GssapiAuthentication |
General tab. Under User Authentication, select or clear GSSAPI/Kerberos. |
| PasswordAuthentication |
General tab. Under User Authentication, select or clear Password. |
| Protocol |
General tab. On the Protocol drop-down list, select a protocol. |
| PubkeyAuthentication |
User Keys tab. Click the Generate Key button. Select your options (for example, RSA or DSA for Key Type) and click Create. General tab. Under User Authentication, select or clear Public Key.Note the following: If PubkeyAuthentication is enabled, you must also copy the public key from "My Documents\Attachmate\Reflection\.ssh\id_rsa.pub" or "My Documents\Attachmate\Reflection\.ssh\id_dsa.pub" to the host. For details, see the Reflection online help. |
| RSAAuthentication |
User Keys tab. Click the Generate Key button. From the drop-down Key Type list, select RSA1. Select other options and click Create. Note the following: If RSAAuthentication is enabled, you must also copy the public key from "My Documents\Attachmate\Reflection\.ssh\identity.pub" to the host. For details, see the Reflection online help. RSAAuthentication applies only to SSH1, which has been deprecated. Using SSH2 is highly recommended. |
As the system administrator, you can create a customized Reflection installer that includes the Secure Shell configuration settings needed by your users. The installer method provides machine-wide Secure Shell default settings to your users.
Note the following:
When you close the Reflection Secure Shell Settings dialog box, non-default configuration information is saved automatically to <My Documents>\Attachmate\Reflection\.ssh\config. When you make connections, known host information is saved to <My Documents>\Attachmate\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 Secure Shell settings will be available to all users of the PC running any Reflection client configured to use SSH.
Review these points to help determine how strictly you want to control user configuration functionality.
Beyond configuring Reflection Secure Shell, there are many other things administrators can do to help secure a PC-to-host connection. The following is a list of additional 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.