Livid
288.98D
532.17D
V2EX  ›  SSH

Simplify your life with an SSH config file

  •  
  •   Livid ·
    PRO
    · Oct 21, 2012 · 4253 views
    This topic created in 4984 days ago, the information mentioned may be changed or developed.
    4 replies    1970-01-01 08:00:00 +08:00
    clowwindy
        1
    clowwindy  
       Oct 21, 2012
    可以加上 Compression yes 打开压缩。
    alexzhan
        2
    alexzhan  
       Oct 22, 2012
    这篇文章并没有介绍如果是ssh到非github的主机的话,怎么不用密码就能登录。
    下面这篇文章对这一块有介绍:
    http://hugozhu.appspot.com/2009/01/18/mac上设置ssh,让你麻烦一下,方便一生/
    chuangbo
        3
    chuangbo  
       Oct 22, 2012
    如果想保持一个持续在线的 ssh session, 下面这行配置十分有效,可以写在 .ssh/config 的第一行,他的原理是每隔60秒发一个心跳包
    ServerAliveInterval 60
    neildd
        4
    neildd  
       Oct 22, 2012
    太赞了,我之前都是通过/etc/hosts文件来纪录主机的,缺点就是用户名以及端口要自己记住。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2890 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 08:10 · PVG 16:10 · LAX 01:10 · JFK 04:10
    ♥ Do have faith in what you're doing.