how to ssh with private key code example
Example 1: checking for existing ssh keys
$ ls -al ~/.ssh
# Lists the files in your .ssh directory, if they exist
Example 2: ssh with private key terminal
ssh -i path/to/private/key user@servername
Example 3: how to generate ssh key
$ ssh-keygen -t ed25519 -C "[email protected]"