ssh using keys code example
Example 1: ssh with key
ssh -i ~/.ssh/id_rsa.pub [email protected] -p25
Example 2: SSH key
$ clip < ~/.ssh/id_ed25519.pub
# Copies the contents of the id_ed25519.pub file to your clipboard
ssh -i ~/.ssh/id_rsa.pub [email protected] -p25
$ clip < ~/.ssh/id_ed25519.pub
# Copies the contents of the id_ed25519.pub file to your clipboard