November 2006 Archives

Tunneling AFP over SSH

| | Comments (1) | TrackBacks (0)
Here's a neat OpenSSH trick for accessing an AFP fileshare remotely (and securely).

In Mac OS X, open a terminal window and type:

$ ssh -l [username] [servername] -L 10548:127.0.0.1:548 sleep 3000

Replace [username] and [servername] with your username on the server that you are trying to connect to. The -L parameter controls port bindings. What we are doing with these options is binding the remote AFP server (the remote port 548) to port 10548 on server 127.0.0.1 (the localhost), with all communication happening over SSH (port 22). 

Compiling Pubcookie on OpenBSD

| | Comments (0) | TrackBacks (0)
This is a very brief post regarding pubcookie.

When compiling the Apache pubcookie module on OpenBSD, you have to add a flag when running ./configure:

--with-ssl-dir=/usr/include/openssl/


Everything else should be as documented on the pubcookie site.

Tag Cloud

Powered by Movable Type 4.12