Category Archives: Networking

Secure VNC to a remote machine from OS X via a corporate HTTP proxy with SSH and Corkscrew

Using this technique I was about to VNC securely to a remote machine via an SSH tunnel. I used corkscrew to send my SSH connection over a corporate HTTP proxy, bypassing the firewall. Disclaimer: Don’t blame me if you get sacked for this! Assuming you have corkscrew already installed… (if not, you can install it [...]

Posted in Networking | Tagged , , | Leave a comment

Configure the BIND DNS Service for local development

Since the /etc/hosts does not allow wildcard entries, this simple BIND DNS setup allows you to use a custom domain with unlimited sub domains. Very handy for local development work, either on a standalone machine or in a small LAN. I carried out the following on OS X 10.6 as the root user: Generate the [...]

Posted in Networking | Tagged , , | Leave a comment

SSL certificate generation with self signing CA

Steps completed on Ubuntu 10.04 Generate CA (CN should have CA suffix to prevent conflict) openssl genrsa -des3 -out ca.key 4096 openssl req -new -x509 -days 3650 -key ca.key -out ca.crt generate server key and request (CSR) openssl genrsa -des3 -out server.key 4096 openssl req -new -key server.key -out server.csr Generate CRT from CSR openssl [...]

Posted in Networking | Tagged , , | Leave a comment

SSH host config

To add an SSH host configuration in the file ~/.ssh/config Host myserver.com HostName 10.1.1.10 User username IdentityFile /Users/deanoj/keys/myserver.key

Posted in Networking | Tagged , | Leave a comment

Using PuTTY keys with OpenSSH

Open your private key with puTTYgen, the puTTY key generator. Copy the public key and paste into the .ssh/authorized_keys file. You can now use your private key with puTTY session to connect from a windows client to a remote linux server.

Posted in Networking | Tagged , | Leave a comment