Windows10 打开ssh服务,报错“The service name is invalid ”

 按照网上搜到的做法,首先先在 设置-应用-可选功能 确认“OpenSSH服务器”是否已安装,我这里大概看了看,看到有个“OpenSSH...”的,就认为是已安装了。

接着下一步,以管理员身份打开cmd,输入指令“net start sshd”以启动ssh服务,却在这里报错“The service name is invalid ”,光搜这条报错也没搜到什么。

后来想想,这个报错意味着这个“sshd”服务并未安装,于是重新检查了 设置-应用-可选功能 发现先前看到的已安装的是“OpenSSH客户端”,并不是“OpenSSH服务器”,下载安装后,重新以管理员身份打开cmd就可以输入指令启用服务了。

默认的服务启动方式是手动,可以在服务设置里改为自动。 

  • 52
    点赞
  • 25
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
WinRAR - What's new in the latest version Version 5.71 1. "Convert archives" command: a) improved performance when processing a lot of small archives in Windows 10; b) fixed memory leaks which could lead to excessive memory use when converting to ZIP format. 2. Corrupt ZIP archive processing: a) "Repair" command replaces packed and unpacked file sizes stored in local file header with sizes from central directory if local header sizes look invalid; b) file extraction is stopped at unpacked size stored in ZIP headers even if available packed data allows further extraction. It is done to prevent unexpected hard drive space usage. 3. Ctrl+C allows to abort RAR "l" command quickly. In previous versions it could take several seconds until list command stopped. 4. Bugs fixed: a) WinRAR could crash when attempting to display some types of archive comments in GUI shell, resulting in a denial of service; b) if "Save archive name" and "Add to context menu" options were set in compression profile parameters and profile was invoked from Explorer context menu, WinRAR proposed an automatically generated archive name instead of name saved in profile. c) WinRAR displayed an unneeded pair of round brackets in "Archive" column of "Diagnostic messages" window for system error messages; d) "Extract to folder\" Windows Explorer context menu command could fail to unpack ZIP archives if their names included a numeric part followed by .zip extension, arbitrary data was present before the first file record and "Remove redundant folders from extraction path" WinRAR option was switched on; e) in "RAR x -x<mask> arcname" command, parent folders of files matching the specified mask also were excluded from extracting; f) "Find" command returned the current folder own name additionally to its contents for "Current folder" search area if folder name matched "File names to find" mask; g) if "Find in files" and "Find in archives" are both enabled, "Find" command did not match an archive name itself against "File names to find" mask after searching inside of archive. So it did not display archive names for masks like *.rar and applied this mask only to files inside of archives; h) when running an executable directly from archive, WinRAR 5.70 did not set a temporary folder with unpacked files as current. So executables attempting to access other archived files in current folder could fail to work; i) WinRAR could be inaccessible for few seconds after closing an archived file opened in internal viewer in Windows 10; j) dragging a file to subfolder of ZIP archive with "Store full paths" option enabled produced invalid pathnames consisting of repeated subfolder name. Same invalid pathnames were produced if adding files to ZIP archive with -ap<folder> -ep2 switches.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值