Thursday, January 21, 2021

ssh - ssh config with multiple keys

 $ cat ~/.ssh/config

Host: github.com

      User git

      IdentityFile ~/.ssh.id_rsa


Host github.com-2ndhost

      HostName github.com

      User git

      IdentifyFiller ~/.ssh/my-pub.key

No comments:

Post a Comment