Hi! I’m clsung

Hi! I’m clsung

clsung’s blog site, or you can call me AlanSung

Hi! I’m clsung RSS Feed
 
 
 
 

[committer] 書上有寫,但是你不會去看的事

爛標題,搞笑用的嗎? :[

cvs 到目前為止,仍是 FreeBSD 必要的工具,所以 Committer’s Guide 有專章在講 CVS Operations,不過有一點地方要看一下,學會了,可以加速你操作 cvs 的時間,而這我之前是耍了白痴才學會的:

14:53 <@cls_bsd> I’m an idiot, I put exactly “ControlPath /home/pav/.ssh/cvs.cpath” in my .ssh/config

對啦,就是 persistent ssh connection 啦,一切都寫在最後一段:

在 ~/.ssh/config 中加入(把 user 換成你的名字):

Host ncvs.FreeBSD.org
ControlPath /home/user/.ssh/cvs.cpath
Host dcvs.FreeBSD.org
ControlPath /home/user/.ssh/cvs.cpath
Host projcvs.FreeBSD.org
ControlPath /home/user/.ssh/cvs.cpath
Host pcvs.FreeBSD.org
ControlPath /home/user/.ssh/cvs.cpath

然後執行

ssh -fNM *cvs.FreeBSD.org

就可以啦(那個 ‘*’ 當然也要換掉)。

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • funp
  • Haohao
  • Hemidemi
  • Live
  • MisterWong
  • TwitThis
  • udn

Leave a Reply

噗浪:

分類

Flickr

    clsung. Get yours at bighugelabs.com/flickr
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Taiwan
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Taiwan