What would be a walkthrough on how to set up multiple SSH keys?
I'm trying to connect to my remote server and GitHub account. I've got SSH access established with GitHub, but when I used ssh-keygen -t rsa
and hit Enter, the terminal prompted me if I wanted to override the one that already exists. How can I create a new SSH key just for the remote server?
ssh my-server
and hit Enter I get prompted for password. – Mark Alexa Jun 28 '17 at 13:48ssh-agent
is running and usessh-add
to add your key to key lists so it doesn't ask you for password anymore. (At this session). – Ravexina Jun 28 '17 at 13:52ssh-add ~/.ssh/mynewkey
it asks your password once then you don't have to enter it again (in this session). – Ravexina Jun 28 '17 at 14:36