In my Mac I already have a personal RSA key pair under ~/.sshI would like to create a couple of RSA keys in my Mac but for another computer. So I don't want to run some ssh command and replace my existing keys somehow.Just create some key pairs for users A and B in a custom dir so that I can copy them where I need to and be sure that nothing of my personal SSH settings is replaced/broken.How can I do this safely?
Create ssh key pairs to copy elsewhere without messing up my personal ssh setup
ssh;command line;osx;ssh agent
Use the -f flageg% ssh-keygen -f /tmp/foobarGenerating public/private rsa key pair.Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /tmp/foobar.Your public key has been saved in /tmp/foobar.pub.