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

如何上传公钥到服务器? #3

Open
samonxian opened this issue Jul 19, 2019 · 0 comments
Open

如何上传公钥到服务器? #3

samonxian opened this issue Jul 19, 2019 · 0 comments

Comments

@samonxian
Copy link
Owner

samonxian commented Jul 19, 2019

ssh-copy-id user@host

运行上面的命令(user 和 host 根据实际情况填写),用户需要有足够权限,而且开启了 ssh 公钥功能,那么上传后就可以生效了。
ssh user@host 即可连接上服务器。
为了更方便,可以使用 ssh alias。

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

No branches or pull requests

1 participant