contextcapture学习

 

 

 

 ssh免密码登录,

C:\Users\Administrator\.ssh>ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (C:\Users\Administrator/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in C:\Users\Administrator/.ssh/id_rsa.
Your public key has been saved in C:\Users\Administrator/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:dwrDIBRTgSwVsMHXp4Sl5oeKCeKs+1HwQYHj16sb7ns administrator@DESKTOP-KGTBCKQ
The key's randomart image is:
+---[RSA 3072]----+
| .o=OX+.         |
|  ===oo .        |
| .o+=o.o         |
|  .=.+oo         |
|o  .= ..S . .    |
|=o o ..  + o     |
|ooo ..    .      |
|.  o..E          |
|oo..=+           |
+----[SHA256]-----+

生成密钥,

复制这里面的文件

 

 

到这里面

 

 编辑

然后ssh uroot即可免密码登录

 

posted on 2022-07-04 10:44  shenhshihao  阅读(166)  评论(0编辑  收藏  举报

导航