Daily blurbs Sep. 2008


daily blurbs

27 Sep 2008 (Sat)

10:53:13 # Life Two tips on using ssh for alioth. Just because I currently have sloooow connection to alioth, I looked into making the connection better. Installing pdnsd and improving perceived DNS performance, installing webcaching etc are important too, but there is a ssh improvements which can be done. Using ControlMaster argument for ssh. You can have a master ssh session open, and ssh will reuse that connection, without asking for your password every time, just like using ssh-agent, but faster. I remembered this setting just because someone mentioned alioth -guest login names being a nuisance because they always have to specify it on ssh and scp; you don't. You just set the respective 'User' directive to the -guest names.

UPDATE: some refinements from comment. 'Compression yes' will help on remote slower connections, and you can specify multiple entries per Host entry.

ServerAliveInterval 10
ServerAliveCountMax 12
Compression yes

Host alioth.debian.org git.debian.org 
  ControlMaster auto
  ControlPath ~/tmp/ssh-%r@%h:%p
  User dancer

Host localhost
  StrictHostKeyChecking no
  Compression no

#Host *
#  -- I can set default setting here...

1 Sep 2008 (Mon)

12:01:35 # Life qemubuilder+distcc. I've been playing with regexp in C this morning. That sounds like a pretty remote step towards qemubuilder+distcc, but yes, it is.

Junichi Uekawa

$Id: 200809.html.en,v 1.3 2008/09/28 00:48:43 dancer Exp $