rearrange the ssh authorisiation modules a little bit. Support ec2 API to authorise