ssh connect with key code example
Example 1: how to generate ssh key
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
Example 2: ssh with key
ssh -i ~/.ssh/id_rsa.pub [email protected] -p25
Example 3: how to generate ssh key
$ ssh-keygen -t ed25519 -C "[email protected]"