小编Int*_*rer的帖子

如何为 OpenSSH 配置 powershell 而不是 cmd

我有一台 Windows 10 Pro 计算机,我可以ssh将其作为cmd. 我希望将 shell 设置为powershell.exe(不是默认的cmd.exe)。

C:\ProgramData\ssh\sshd我尝试在本文设置以下内容,然后设置Restart-Service sshd,但这不起作用:

Subsystem   powershell  c:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -sshs -NoLogo -NoProfile
Run Code Online (Sandbox Code Playgroud)

这也不起作用:

Subsystem   powershell  C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -sshs -NoLogo -NoProfile
Run Code Online (Sandbox Code Playgroud)

我已经确认C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exePowerShell的位置正确。

如何使 shell 成为 PowerShell 以ssh访问 Windows 主机?

windows ssh powershell openssh sshd

2
推荐指数
1
解决办法
1468
查看次数

有人可以通过从计算机内部提取驱动器来窃取硬盘驱动器内容吗?

2019 年秋季,我的个人笔记本电脑从车上被盗。它受密码保护。我没有想到要设置硬盘驱动器加密程序。

我想知道,如果小偷把我的电脑拆开,取出我的固态硬盘,他们能在没有密码的情况下访问里面的文件吗?


电脑规格

我想保持这个问题的通用性。但是,如果有人问起,这是我的旧笔记本电脑的信息:

  • 制造商:HP
  • 型号:OMEN 17-w151nr
  • 购买日期:2016 年 11 月
  • 操作系统:Windows 10 家庭版 64 位

我从未手动启用设备加密。我不确定它是否会从制造商处自动启用。

windows ssd hard-drive disk-encryption

0
推荐指数
1
解决办法
2106
查看次数

标签 统计

windows ×2

disk-encryption ×1

hard-drive ×1

openssh ×1

powershell ×1

ssd ×1

ssh ×1

sshd ×1