16.2 Sample Configuration File

In this sample Secure Shell configuration file, there are two SSH configuration schemes — MyHost.Demo.com and GeneralSSH.

The settings under MyHost.Demo.com identify a set of Secure Shell settings using an actual host name. These settings will be used for all connections that specify MyHost.Demo.com as the SSH configuration scheme, and also for connections to that host when no SSH configuration scheme is specified.

Because GeneralSSH does not identify an actual host address, these settings will only be used if you specify this SSH configuration scheme when you configure your session.

With this config file, if you configure a connection to a new host (not MyHost.Demo.com) and you don't specify the GeneralSSH scheme, Reflection will connect using the default Secure Shell settings.

Host MyHost.Demo.Com
    Protocol 2
    KbdInteractiveAuthentication no
    ChallengeResponseAuthentication no
    PasswordAuthentication no
    RSAAuthentication no
    IdentityFile "C:\SSHusers\Joe\.ssh\mykey"
    LogLevel VERBOSE
Host GeneralSSH
    StrictHostKeyChecking yes
    ServerAlive yes