Home | History | Annotate | Line # | Download | only in dist
      1 #	$NetBSD: ssh_config,v 1.17 2025/10/11 15:45:08 christos Exp $
      2 #	$OpenBSD: ssh_config,v 1.37 2025/05/06 05:40:56 djm Exp $
      3 
      4 # This is the ssh client system-wide configuration file.  See
      5 # ssh_config(5) for more information.  This file provides defaults for
      6 # users, and the values can be changed in per-user configuration files
      7 # or on the command line.
      8 
      9 # Configuration data is parsed as follows:
     10 #  1. command line options
     11 #  2. user-specific file
     12 #  3. system-wide file
     13 # Any configuration value is only changed the first time it is set.
     14 # Thus, host-specific definitions should be at the beginning of the
     15 # configuration file, and defaults at the end.
     16 
     17 # Site-wide defaults for some commonly used options.  For a comprehensive
     18 # list of available options, their meanings and defaults, please see the
     19 # ssh_config(5) man page.
     20 
     21 # NetBSD.org DNS provides SSHFP records - use them when possible
     22 Host *.netbsd.org *.NetBSD.org
     23     VerifyHostKeyDNS ask
     24 
     25 # Host *
     26 #   ForwardAgent no
     27 #   ForwardX11 no
     28 #   PasswordAuthentication yes
     29 #   HostbasedAuthentication no
     30 #   GSSAPIAuthentication no
     31 #   GSSAPIDelegateCredentials no
     32 #   BatchMode no
     33 #   CheckHostIP no
     34 #   AddressFamily any
     35 #   ConnectTimeout 0
     36 #   StrictHostKeyChecking ask
     37 #   IdentityFile ~/.ssh/id_rsa
     38 #   IdentityFile ~/.ssh/id_ecdsa
     39 #   IdentityFile ~/.ssh/id_ed25519
     40 #   Port 22
     41 #   Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
     42 #   MACs hmac-md5,hmac-sha1,umac-64 (a] openssh.com
     43 #   EscapeChar ~
     44 #   Tunnel no
     45 #   TunnelDevice any:any
     46 #   PermitLocalCommand no
     47 #   VisualHostKey no
     48 #   ProxyCommand ssh -q -W %h:%p gateway.example.com
     49 #   RekeyLimit 1G 1h
     50 #   UserKnownHostsFile ~/.ssh/known_hosts.d/%k
     51 
     52 # If you use xorg from pkgsrc then uncomment the following line.
     53 #   XAuthLocation /usr/pkg/bin/xauth
     54