Shared SSH connections

From Phobos Wiki
Jump to navigation Jump to search

~/.ssh/config


Host spirit
  Compression yes
  ForwardX11 yes
  Ciphers blowfish-cbc,arcfour

Host 192.168.*
        StrictHostKeyChecking no
        UserKnownHostsFile=/dev/null

Host 10.*
    StrictHostKeyChecking no
    UserKnownHostsFile=/dev/null
    
Host *
    ControlMaster auto
    ControlPath ~/.ssh/sockets/%r@%h-%p
    ControlPersist 600


Create directory

~/.ssh/sockets