How to do this varies on what version of iOS your hardware is using, but you can find our jailbreak info here depending on your specific iOS version and device model of iPhone or iPad.
As it turns out for us nerdier users, this ability is disabled without a jailbreak, so in order to SSH into your iOS device you will need to jailbreak first.