First of all you need an SSH client. In Linux and OSX you van use the standard terminal app but in Windows you need a tool like Putty.

Linux/OSX command:

ssh username@<yourIP> (standard username is admin) 

Putty settings:

The IP address of your cloudgate depends on the configuration. Out of the box, this is when your CloudGate is connected to your PC using the main ethernet port. 

When using the ethernet switch card, this is 

The SSH credentials are the same as your GUI credentials.

When you see the CGate logo, you have successfully logged in! Now you can run commands like ifconfig or browse through the filesystem.