MAC连接服务器后不断开

MAC连接服务器后不断开:

cd ~/.ssh

#cat config

Host *

   ControlMaster auto

   ControlPersist yes

   ControlPath /tmp/%r@%h:%p

# Send locale-related environment variables

#   SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARYLC_MESSAGES

#   SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT

#   SendEnv LC_IDENTIFICATION LC_ALL

#   SendEnv LANG LC_*

   HashKnownHosts yes

   Ciphersaes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc

   HostKeyAlgorithms ssh-rsa,ssh-dss

   MACs hmac-md5,hmac-sha1,hmac-ripemd160

   ServerAliveInterval 20

你可能感兴趣的:(MAC连接服务器后不断开)