- on local machine - create ssh key-pair
mykeyfile
,mykeyfile.pub
$ ssh-keygen -q -N '' -b 4096 -f ~/.ssh/mykeyfile
- on local machine - display contents of public key (so that later you can copy/paste them into
authorized_keys
)
$ cat mykeyfile.pub