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

windows ssh免密登录linux | Second Blog #1

Closed
SakenTam opened this issue Dec 14, 2021 · 0 comments
Closed

windows ssh免密登录linux | Second Blog #1

SakenTam opened this issue Dec 14, 2021 · 0 comments

Comments

@SakenTam
Copy link
Owner

https://blog.sakentam.icu/ssh-login.html

win10中创建公钥 powershell中创建公钥,输入以下命令一路按回车 1ssh-keygen -t rsa -C "alice" 编辑windows的hosts文件 12code C:\Windows\System32\drivers\etc\hostsip地址 host别名(方便ssh登录) 查看并复制公钥,复制下边命令输出的所有文字 1cat ~/.ssh

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