If gam (the Google Apps Manager) on Debian shows an error like
NotImplementedError: PKCS12 format is not supported by the PyCrpto library. Try converting to a “PEM” (openssl pkcs12 -in xxxxx.p12 -nodes -nocerts > privatekey.pem) or using PyOpenSSL if native code is an option.
you are probably missing the python openssl package. Install it with
sudo apt-get install python-openssl
For Python 3 you will need python3-openssl instead.
Pro Git seems to be an alright book, but personally I found Ry’s Git Tutorial online tutorial to be the best resource for learning git.
When you create a new key pair in Amazon Webs Services (AWS) you only have the RSA private key in a .pem file.
To create a public key use this command
ssh-keygen -y -f <yourprivatekey.pem> > yourpublickey.pub
This will create the file yourpublickey.pub containing the public key in your current folder.
I had a strange problem on Ubuntu 10.04, the AWStats cronjob was not working even though everthing worked fine on the command line as root. The solution was to add /usr/bin/perl in front of /usr/lib/cgi-bin/awstats.pl. So here is the working cronjob, hope it helps.
*/10 * * * * /usr/bin/perl /usr/lib/cgi-bin/awstats.pl --config=www.example.com -update
(replace www.example.com with the part of the configuration file name, here it would be awstats.www.example.com.conf)
The default Debian setup only shows options to connect to OpenVPN and to Import from file. To connect to a Cisco VPN first install these packages:
vpnc network-manager-vpnc network-manager-vpnc-gnome
After a restart of Network Manager (/etc/init.d/network-manager restart) you will have an additional option, Cisco Compatible VPN (vpnc).
If you want to find out if a key and certificate match you can compare them like this:
openssl rsa -noout -modulus -in <name of key> | openssl md5
openssl x509 -noout -modulus -in <certificate name> | openssl md5