📜  添加已知主机 github - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:10.645000             🧑  作者: Mango

代码示例1
#Mac:
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts

#Windows:
ssh-keyscan -t rsa github.com >> %userprofile%/.ssh/known_hosts