数码之家

 找回密码
 立即注册
搜索
查看: 9295|回复: 2

[软件] Windows 支持原生SSH 了,安装失败的解决方案分享

[复制链接]
发表于 2019-4-13 10:55:21 | 显示全部楼层 |阅读模式
最近在玩Server 2019 ,苦于网络超级慢,就想着能不能用命令操作,考虑telnet的安全性,想着有没有ssh之类的,上网查了下,发现2019 原生支持ssh,一番操作猛如虎,却是如下结果 PS C:\Users\Administrator> Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Add-WindowsCapability : Add-WindowsCapability 失败。错误代码 = 0x800f0950
所在位置 行:1 字符: 1
+ Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-WindowsCapability], COMException
    + FullyQualifiedErrorId : Microsoft.Dism.Commands.AddWindowsCapabilityCommand

百度谷歌都有很多解决方案:
引用一些 :
Blankf commented on 12 Dec 2018 •
experiencing the same issue here ( core and gui )
weird thing, after installing: KB4470788 and KB4470502 it does work for me.

@dpareit docs.microsoft.com
Author
dpareit commented on 13 Dec 2018 — with docs.microsoft.com
thanks for the suggestion! KB4470788 and KB4470502 did however not yet solve the issue. I had to install KB4471332 as well and this solved it for me. This implies a shift from build 17763.1 to build 17763.194 (december 2018).

@Geogboe

Geogboe commented on 19 Jan
Looks like these updates have all been superseded. Installing KB4480116 ( latest cumulative update ) resolved this issue for me.

So it looks like, for any new installs, just make sure you have the Latest cumulative update.


都没有解决,更新系统了也,组策略也改了更新了,都不行。
最后在系统更新里,看到传递优化,就抱着试试的心态开启了,死马当活马医了,竟然 好用了,上来分享一下。
具体路径 在: 设置 更新和安全 传递优化 允许从其他电脑下载(打开) 从本地电脑和internet


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
发表于 2019-4-13 19:48:22 | 显示全部楼层
还是习惯成型的SSH客户端~
回复 支持 反对

使用道具 举报

发表于 2019-4-13 22:10:42 | 显示全部楼层
不明觉厉,帮顶一下。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

APP|手机版|小黑屋|关于我们|联系我们|法律条款|技术知识分享平台

闽公网安备35020502000485号

闽ICP备2021002735号-2

GMT+8, 2025-5-7 08:34 , Processed in 0.202801 second(s), 12 queries , Redis On.

Powered by Discuz!

© 2006-2025 MyDigit.Net

快速回复 返回顶部 返回列表