当前位置:网站首页>Win10添加ssh公钥
Win10添加ssh公钥
2022-06-29 21:07:00 【躲猫猫的喵喵】
1,创建ssh-key
ssh-keygen.exe2,运行ssh-agent
Start-Service ssh-agentPS C:\Users\Administrator\.ssh> Start-Service ssh-agent
Start-Service : 由于以下错误无法启动服务“OpenSSH Authentication Agent (ssh-agent)”: 无法启动计算机“.”上的服务 ssh-a
gent。
所在位置 行:1 字符: 1
+ Start-Service ssh-agent
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service],
ServiceCommandException
+ FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand出现错误
使用管理员执行powershell
Get-Service ssh-agent
Get-Service -Name ssh-agent | Set-Service -StartupType ManualStart-Service ssh-agentGet-Service ssh-agent
ssh-add ~/.ssh/id_rsa
添加成功
边栏推荐
- How can colleges and universities build future oriented smart campus based on cloud native? Full stack cloud native vs traditional technology architecture
- LSF bsub command
- About Effect Size
- Initialization of global and static variables
- 直播预告 | PostgreSQL 内核解读系列第一讲:PostgreSQL 系统概述
- Clock tree synthesis (CTS)
- [advanced ROS chapter] Lecture 4: duplicate names in ROS (nodes, topics and parameters)
- Knowledge distilling learning notes
- A new Polaris has risen!
- 如何从外表判断导电滑环的质量
猜你喜欢

leetcode:724. 寻找数组的中心下标

透过华为军团看科技之变(五):智慧园区

Chainsafe cross chain bridge deployment tutorial

Explain PBR texture maps

Recruit | DBA Data Engineer every week with an annual salary of 35+. Dream of Kyushu and bright stars!

Implementation and Simulation of ads131a04 ADC Verilog
[cloud native practice] kubesphere practice - Multi tenant system practice

"Operation and maintenance department has Xiao Deng" to review and analyze file and folder access rights

Logical structure and physical structure
![Navigation exercises [microcomputer principles] [exercises]](/img/79/8311a409113331e72f650a83351b46.png)
Navigation exercises [microcomputer principles] [exercises]
随机推荐
Goahead webserver migration
[advanced ROS] Lecture 3 ROS file system and distributed communication
Realize inotify and Rsync real-time backup
导航 习题【微机原理】【习题】
直播预告 | PostgreSQL 内核解读系列第一讲:PostgreSQL 系统概述
"Xiaodeng" active directory password expiration notification function is available for operation and maintenance
Shell implementation of Memcache cache cache hit rate monitoring script
Explain PBR texture maps
空间导电盘式滑环材料的选择
Chainsafe cross chain bridge deployment tutorial
Design of VHDL telephone billing system
Which brokerage commission is the lowest and safest
Verilog realizes serial communication and sends it to the nixie tube
一颗新的北极星已经升起!
Goahead translation - Active Server Pages
Reinforcement learning weekly (issue 51): integration of PAC, ilql, RRL & model free reinforcement learning into micro grid control: overview and Enlightenment
Summary of document level symbols under different systems
Is it safe to open an account with flush for stock trading?
The reason why the log analysis tool of "operation and maintenance" is used more and more frequently
AI scene Storage Optimization: yunzhisheng supercomputing platform storage practice based on juicefs