How do I connect to a WPA wifi network using the command line?

NoSuchKey