.ssh/config
changeset 71 dcc8c2a63ec3
parent 70 637657d3b402
child 88 0b8ef20d38f0
equal deleted inserted replaced
70:637657d3b402 71:dcc8c2a63ec3
     1 # Allow connection to all host.
     1 
       
     2 # Allow sharing of multiple sessions over a single network connection for all
       
     3 # host. Also don't prompt for password when connection live.
     2 Host *
     4 Host *
     3 
       
     4 # Allow sharing of multiple sessions over a single network connection.
       
     5 # Also don't prompt for password second time.
       
     6 ControlPath ~/.ssh/sock_%r@%h_%p
     5 ControlPath ~/.ssh/sock_%r@%h_%p
     7 ControlMaster auto
     6 ControlMaster auto
     8 
     7 
     9 # This by default.
     8 # This by default.
    10 # UserKnownHostsFile ~/.ssh/known_hosts
     9 # UserKnownHostsFile ~/.ssh/known_hosts
    11 
    10 
    12 # Enable compression. To turn on it manually invoce ssh with -C key.
    11 # Enable compression. To turn on it manually invoke ssh with -C key.
    13 # Compression yes
    12 # Compression yes
    14 
    13 
    15 # Prefer public key authentication.
    14 # Prefer public key authentication.
    16 PreferredAuthentications publickey,keyboard-interactive,password
    15 PreferredAuthentications publickey,keyboard-interactive,password
    17 PubkeyAuthentication yes
    16 PubkeyAuthentication yes