ターミナルから下記のように入力します。
ssh -i 秘密鍵 ユーザ名@サーバアドレス
上記コマンドの例が下記となります。
ssh -i handson202203-kp.pem hogehoge@apiserver.hogehoge.com