Keys are the basis of public key algorithms and PKI. Keys usually come in pairs, with one half being the public key and the other half being the private key. With OpenSSL, the private key contains the public key information as well, so a public key doesn’t need to be generated separately. Public keys come in several […]Read more "Generating private keys with openssl"
I keep forgetting this one hence writing it up. Every so often you need to flush the local dns cache – usually you’ve made a change in some dns & you want to test it immediately etc. dscacheutil -flushcache It’s that simple – so simple it’s an easy one to forget 😦Read more "How to flush the DNS Cache on OSX"
I’ve just had this one with a pptp vpn – one network was accessible over it but another behind it wasnt so I had to add a static route. First you need to know the remote ip address of the vpn connection: sabrina:table peter$ ifconfig ppp0 ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1444 inet 192.168.1.3 –> 192.168.1.1 netmask […]Read more "How to add a static route on OSX"
I’ve been playing with NetBeans 6.7M3 and the latest Mercurial plugin and found that I couldn’t push to a remote repository via ssh. All netbeans would return was: Here the remote server is trying to prompt for the login password but fails because OSX 10.5 does not have the ssk-askpass command. After some searching on […]Read more "ssh-askpass on OSX 10.5"