Tuesday, 22 May 2012

Agent admitted failure to sign using the key.

After creating a new SSH key I found I needed to run: ssh-add ~/.ssh/id_rsa before I could authenticate using the key.

How to find out your SSH Fingerprint

The SSH fingerprint it a hash of your ssh key.  You can use it as a superficial method of comparing two SSH keys to check that they are (very probably) the same.

The command is: ssh-keygen -lf ~/.ssh/id_rsa.pub

Tuesday, 14 February 2012

The version of Angular in the tutorials is 0.9.12, which doesn not support the select tag.

The line:

<script src="http://code.angularjs.org/angular-0.9.12.js" ng:autobind></script>

Needs to be:

<script src="http://code.angularjs.org/angular-0.9.19.js" ng:autobind></script>

Thursday, 13 October 2011

Accessing Varnish via Telnet

To access Varnish via Telnet you mush start Varnish with the following parameter:

-T localhost:9091

e.g.:

sudo varnishd -F -T localhost:9091

this will allow telnet connections via port 9091.

Monday, 19 September 2011

Reseting Jboss

JBoss can get it's knickers in a twist and will throw the following errors in some tests:

java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.ChunkedInputStream

The solution is to reset Jboss completely,

  1. Stop Jboss
  2. Navigate to /server/default
  3. Delete data, work and tmp
  4. Restart JBoss
WARNING:
Be careful in Live, if you are using JMX, JMS or JEE. Shutting down Jboss can result in messages being lost. You need to find out how to stop the messaging service whilst JBoss is running, then flush it and then you can perform the procedure above.