The Core Dump

A strong conviction that something must be done is the parent of many bad measures

[By Nic Lindh on Thursday, 11 December 2003]

CVS over SSH on Mac OS X

[I’m putting this up here so I don’t have to google for the info every time I set up a fresh machine from scratch.]

In order to use CVS over SSH with BBEdit, CVL, or XCode on Mac OS X, it has to be enabled. To accomplish this, create a directory called “.MacOSX” in your home directory. The period is important. In this directory, create a file called “environment.plist” with the following contents:


<!DOCTYPE plist PUBLIC “-//Apple Computer//DTD PLIST 1.0//EN” “”> CVS_RSH ssh


Please note that if you copy and paste the preceding text, the smart quotes will break things. Make sure you convert them to simple quotes.

You also need to set up quick SSH logins, as described here. Synopsis:

1) ssh-keygen -t rsa [Accept the defaults]2) ssh server “mkdir .ssh; chmod 0700 .ssh”3) scp .ssh/ server:.ssh/authorized_keys2

Note that if you’ve already set up authorized keys from another machine on the server, only run step 1, then follow these steps:

1) scp .ssh/ server:ak22) ssh server3) cat ak2 » .ssh/authorized_keys24) rm ak2

This will copy your minty-fresh authorized keys to the server, then append them to the currently existing authorized keys.

Now exit from the server, and you should be able to SSH to it without being prompted for a password.

Incidentally, Linux Server Hacks, from which the tip for setting up quick SSH logins is taken, is one of the best books on Unix magic I’ve ever seen. Buy it.

« Kittens


Enjoy the ten latest posts!

Die in a ditch

After all these years, Nic still can’t understand the American attitude to healthcare.

The big thieves hang the little ones

Book roundup, part 29

A sci-fi and fantasy heavy installment that includes The Valedictorian of Being Dead, The Mastermind, Broadsword Calling Danny Boy, Tiamat’s Wrath, The Raven Tower, The Liberation, The Light Brigade and Cryptonomicon.

Politics is not the art of the possible. It consists in choosing between the disastrous and the unpalatable

Book roundup, part 28

Includes The Incomplete Book of Running, Aching God, The Murderbot Diaries, Lies Sleeping, The Consuming Fire, and Rendezvous with Rama.

Las Vegas trip report

Did you know Las Vegas is kind of nutty?

Book roundup, part 27

Includes Hollywood Dead, Tales from the Loop, Things from the Flood, The Court of Broken Knives, and Port of Shadows.

To see what is in front of one’s nose needs a constant struggle

“Cancel everything. You’re going into emergency surgery today”

Nic has a retinal tear and has his vision is saved by a laser.

Book roundup, part 26

Includes The Storm Before the Storm, White Trash, Calypso, Tell the Machine Goodnight, Prince of Fools, and Provenance.