SIL LSDev Linux Development

Language software for Linux and Mac OS X

How to avoid being prompted for your ssh passphrase all the time

We use ssh a lot, especially for access to our source code repository (currently CVS). We use a public key system with ssh, and most of our server accounts don’t have a password at all; they can be accessed only with a key.

For security, we ask people to protect their key with a passphrase. However, it is very inconvenient to have to type in the passphrase on every single access to the repository. The solution to this is to use an ssh agent, but finding out the best way to do this isn’t all that clear from the documentation.

Read the rest of this post…

Access to the underlying C GtkObjects from gtkmm

gtkmm is the C++ API for development of GTK+ and GNOME applications. Its developers have made a great job of wrapping the underlying C API, making it relatively easy to use GTK+ and GNOME within a C++ application. However, in the interests of writing methods that can be readily invoked from a variety of languages, it is preferable to use objects from the underlying C implementation as arguments and return values rather than their object-oriented counterparts. It will then be possible to call those C++ methods from C# code.
Read the rest of this post…