- Generate SSH keys using the below two commands in gitbash terminal.
ssh-keygen -t ed25519 -C "abc@gmail.com" -f ~/.ssh/P
ssh-keygen -t ed25519 -C "xyz@c.com" -f ~/.ssh/C
- Add public keys to respective accounts
- Configure multiple host in config file under ~/.ssh directory
Top comments (0)