SSH :
ssh -i /path/to/private/key user@hostname
SFTP:
sftp -oIdentityFile=/path/to/private/key user@hostname