n
On Check Point Gaia OS (not Gaia Embedded) use this
command:
ssh-keygen -t rsa -b 4096
Example from a Gaia OS server:
Note - In this example, the
/home/admin/MyKey
file is the RSA Private Key, and the
/home/admin/MyKey.pub
file is the RSA Public
Key.
[Expert@HostName:0]# ssh-keygen -t rsa -b
4096
Generating public/private rsa key pair.
Enter file in which to save the key
(/home/admin/.ssh/id_rsa):
/home/admin/MyKey
Enter passphrase (empty for no
passphrase): ****
Enter same passphrase again: ****
Your identification has been saved in
/home/admin/MyKey.
Your public key has been saved in
/home/admin/MyKey.pub.
The key fingerprint is: