Skip to content

Sample Configuration File

In this sample Secure Shell configuration file, there are two SSH configuration schemes:

  • GeneralSSH

The settings under identify a set of Secure Shell settings using an actual host name. These settings will be used for all connections that specify 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 and you don't specify the GeneralSSH scheme, the client 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

More Information