Put this in .ssh/config

Host *
    # automatically share a connection through a socket
    ControlMaster auto
    # create the socket at a global path
    ControlPath /tmp/%r@%h:%p
    # leave the connection open after the last shell closes
    # ControlPersist 2m

# CClub hosts
Host *.club
    # turn these kind of domains into ones ending in .cc.cmu.edu
    CanonicalizeHostname yes
    CanonicalDomains cc.cmu.edu

Host *.club.cc.cmu.edu
    # try to authenticate using kerberos tickets
    GSSAPIAuthentication yes
    # forward any forwardable tickets to the remote shell
    GSSAPIDelegateCredentials yes

Other Informative Documentation/SSH client configuration (last edited 2014-11-22 23:55:12 by sbaugh@CLUB.CC.CMU.EDU)