QUESTIONS
How can I create a new ssh key?
Can ssh use multiple keys?
Can I change the ssh key on my machine?
How can I switch different ssh keys?
LINKS Install ssh ssh keygenCorrect SSH Ensure you have the correct ssh version (running in a cmd/terminal).
CMD/Terminal
Open a CMD or terminal window.
Generate
Create your keys by calling ssh-keygen with the saving path for the key.
Replace the content of curly brackets:
ssh-keygen-f{relative-saving-path/to/public/key}
Note: The last part after -t are the settings for the key generation and can be changed.
Check Files
You should have 2 files:
One file that has an file ending ".pub" is the public key, the other
one is the private one.
Never share the private key, it is only needed locally for the ssh-agent.
Only the public key is copied to all places you want to login.
APP | VERSION ssh 8+
RELATED TAGS ssh, ssh-agent, ssh keys, creat
QUESTIONS
How can I create a new ssh key?
Can ssh use multiple keys?
Can I change the ssh key on my machine?
How can I switch different ssh keys?