Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH自动加载密钥 | 小时候 #2

Open
ToApr opened this issue Nov 12, 2019 · 0 comments
Open

SSH自动加载密钥 | 小时候 #2

ToApr opened this issue Nov 12, 2019 · 0 comments

Comments

@ToApr
Copy link
Owner

ToApr commented Nov 12, 2019

https://toapr.github.io/2019/11/11/gitssh/

如何让SSH自动加载密钥?ssh 依次从下面的三个地方读取配置 命令行选项(就是指上面的ssh -i) 用户级配置文件 ~/.ssh/config 系统级配置文件 /etc/ssh/ssh_config 我们操作用户级配置文件,命令如下: 1234567891011121314151617touch configAddKeysToAgent yesIdentityFile ~/.ssh/id_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant