Archive for September 1st, 2008

Subversion over SSH using specific identity

Everyone knows how to allow one particular system account to be shared among multiple SVN users and who doesn’t can have a look here. However, I had a somewhat inverted situation yesterday, and although the solution turned out to be trivial, finding it wasn’t to me. Supposedly my biggest problem was to put the issue into proper search terms.

Here is what I wanted. I have an system account two machines, one having the Subversion server running. The accounts trust each other through key-based authentication, but the main key that is trusted has a passphrase. Now adding the passphrase into a CRON job would be stupid, so I had to come up with something else, so I created a dedicated key-pair (without passphrase) just for SVN access and followed the steps described at the link above to restrict access with this key to one that uses svnserve -t.

Now the only problem was how to tell the the Subversion client to use that particular identity file when connecting. It turns out, that SVN_SSH (similar to CVS_RSH in CVS) does a good job in this. So while the “default” of this variable seems to be ssh, I simply specified the identity file and I was set.

export SVN_SSH="ssh -i /path/to/identity/file"

Hope this helps someone else to save some time when encountering a similar issue.

// Oliver

Man lernt nie aus: Борщ versus barszcz

Gerade im ZDF-Auslandsjournal gesehen. In sogenannten polnischen “Milchbars” wird Rote-Bete-Suppe serviert. Nun war mir schon aus meinem Volkshochschul-Polnischkurs klar, daß der polnische “barszcz” dem russischen “борщ” entsprechen müßte. Müßte!

Laut Wikipedia-Artikel und der Reportage vom ZDF gibt es einen ziemlichen Unterschied: den Inhalt. Während man bei den Polen eine klare Suppe serviert bekommt, kommt bei Russen und Ukrainern richtig was auf den Tisch. Genau wie bei Wikipedia beschrieben: der Löffel darf ruhig im Topf stehenbleiben :mrgreen:

Lecker!

// Oliver