github配置ssh及多ssh key問題處理

一、生成ssh公私鑰 用ssh-keygen生成公私鑰。 $ssh-keygen -t rsa -C "你的郵箱" -f ~/.ssh/id_rsa_mult 在~/./ssh目錄下會生成一對文件id_rsa_mult和id_rsa_mult.pub文件 二、編輯config文件,增加多用戶支持 在ssh用戶的配置文件~/.ssh/config增加github-mult.com的配置 $touch
相關文章
相關標籤/搜索