unable to start ssh-agent service, error :1058 问题的解决方法
Windows 10 启动 ssh-agent 命令时,抛出 unable to start ssh-agent service, error :1058 :
(1)原因分析
ssh-agent 服务的启动类型设置不正确。
(2)问题解决
使用管理员权限运行 Power Shell,然后执行Set-Service -Name ssh-agent -StartupType automatic
Set-Service 命令可以启动、停止、挂起或暂停服务,具体描述如下:
The Set-Service cmdlet changes the properties of a service such as the Status, Description, DisplayName, and StartupType. Set-Service can start, stop, suspend, or pause a service. To identify a service, enter its service name or submit a service object. Or, send a service name or service object down the pipeline to Set-Service.
这里是把 ssh-agent 的启动类型设置为自动方式。
unable to start ssh-agent service, error :1058 问题的解决方法相关推荐
- 已解决:Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed:
1.问题描述 在部署k8s时,有个步骤需要设置centos机器的时区,命令如下: timedatectl set-timezone Asia/Shanghai timedatectl set-loca ...
- mysql报错error2002_mysql中异常错误ERROR:2002的解决方法分享
最近在启动mysql的时候发现mysql报错了,错误代码是2002,通过查找相关的资料发现是var/lib/mysql 的访问权限问题,所以这篇文章主要介绍了mysql中异常错误ERROR:2002的 ...
- 数据库错误代码:1055(Error Number: 1055) 解决方法
数据库错误代码:1055(Error Number: 1055) 解决方法 发生在mysql 5.7中,将MySQL更改为MySQLI发生了错误,错误代码1055(Error Number: 1055 ...
- mysql 1058_MySQL数据库之mysql启动服务报1058错误的解决方法
本文主要向大家介绍了MySQL数据库之mysql启动服务报1058错误的解决方法 ,通过具体的内容向大家展现,希望对大家学习MySQL数据库有所帮助. 今天研究一个框架,数据库使用mysql,启动my ...
- mysql 1058_MySQL数据库之mysql启动服务报1058错误的解决方法
本文主要向大家介绍了MySQL数据库之mysql启动服务报1058错误的解决方法 ,通过具体的内容向大家展现,希望对大家学习MySQL数据库有所帮助. 今天研究一个框架,数据库使用mysql,启动my ...
- CentOS 7虚拟机克隆,以及克隆后主机名和静态IP地址的修改,无法重启网络服务( because the control process exited with error code)的解决方法
目录 虚拟机的克隆 主机名的修改 静态IP地址的修改 无法重启网络服务( because the control process exited with error code)的解决方法 虚拟机的克隆 ...
- mysql 错误2002_mysql中异常错误ERROR:2002的解决方法
最近在启动mysql 报错,错误提示如下: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/l ...
- mysql 5.7 1054_MySQL5.7更改密码时出现ERROR 1054 (42S22)的解决方法
MySQL5.7更改密码时出现ERROR 1054 (42S22)的解决方法 发布时间:2020-10-14 16:01:38 来源:脚本之家 阅读:81 作者:剑侠365 新安装的MySQL5.7, ...
- vss error reading from file 解决方法
vss error reading from file 解决方法 参考文章: (1)vss error reading from file 解决方法 (2)https://www.cnblogs.co ...
最新文章
- 百度发布ERNIE 2.0,性能超BERT、XLNet
- 设定Windows计划任务定期执行PowerShell脚本
- Spring 5.0 GA版本发布,支持JDK9及反应式编程
- k8s组件批量启动、查看状态
- 让Windows命令行显示UTF-8字符
- 给线程变量pthread_t *thread动态分配空间
- Bitcoin 中的挖矿算法(2) 难度值说明
- DataGridView怎样实现添加、删除、上移、下移一行
- MinGW下编译ffmpeg静态库给Visual C++使用
- WEB安全基础-CSRF漏洞
- linux那些事之中断与异常(AMD64架构)_2
- Python突击(一)
- Linux安装的分区问题
- bxl类型封装转换为AD库封装
- 英文电子书下载:salttiger.com
- linux下安装虚拟天文馆,如何在Ubuntu 18.04/17.10/16.04中安装Stellarium 0.17.0 虚拟天文馆...
- 二维码签到,签退和登陆
- 蚁群算法C语言最短路径规划,蚁群算法规划路径
- 那个丧心病狂的红蓝眼睛逻辑问题推理:第N天有N个红眼睛自杀,还是什么都不会发生?
- pca降维算法java_PCA 降维算法详解 以及代码示例