rexec: Runs commands on remote hosts running the REXEC service. Rexec authenticates the user name on the remote host before executing t ...


... "rexec" 摘自 Microsoft Windows 帮助
... 命令"rexec"的示例
... 重要信息,"rexec"命令的提示

命令: "rexec" 开启 Windows 11, 10, .. 不可用

"rexec" 摘自 Microsoft Windows 帮助

Microsoft Windows XP [Version 5.1.2600]
(c) Copyright 1985-2001 Microsoft Corp.

C:\\WINDOWS>


Runs commands on remote hosts running the REXEC service. Rexec 
authenticates the user name on the remote host before executing the 
specified command.

REXEC host [-l username] [-n] command

  host            Specifies the remote host on which to run command.
  -l username     Specifies the user name on the remote host.
  -n              Redirects the input of REXEC to NULL.
  command         Specifies the command to run.

命令"rexec"的示例

由于默认情况下 Windows 命令提示符中不存在“rexec”命令。 如果您指的是 Windows 环境中的远程执行,则可能是 Sysinternals (Microsoft) 提供的“psexec”命令。“psexec”允许在远程计算机上执行命令。 这是使用“psexec”的简单示例:

psexec \\远程计算机 -u 用户名 -p 密码 ipconfig

此命令在远程计算机上运行 ipconfig 命令。将“RemoteComputer”、“用户名”和“密码”替换为适合您的场景的值。 如果您指的是有关另一个特定命令的信息或需要澄清,请提供更多上下文或信息,以便我可以更好地帮助您。 名为“REXEC”的命令能够在远程主机上执行命令。以下是使用“REXEC”命令的一些示例: 示例1:简单的远程命令执行:

REXEC RemoteHost -l 用户名命令

- 将“RemoteHost”替换为远程计算机的主机名或 IP 地址,将“Username”替换为用户名,将“Command”替换为要执行的命令。 示例2:无需用户输入的远程命令执行:

REXEC RemoteHost 命令

- 如果您不提供特定的用户名,则当前用户名将用于远程主机上的身份验证。 示例 3:将输入重定向到 NULL:

REXEC RemoteHost -n 命令

- 使用选项`-n`将输入从 Rexec 重定向到 NULL。如果命令不需要输入,这会很有用。 请注意,“REXEC”命令的可用性和使用取决于远程主机上的网络设置和配置。您还应该确保您拥有在远程主机上执行命令所需的权限。 还需要注意的是,使用远程命令,尤其是没有加密的命令,可能会带来安全风险。如果可能,应考虑更安全的替代方案,例如 PowerShell 远程处理或 SSH。

重要信息,"rexec"命令的提示

是的,当使用远程执行命令时,例如`rexec``psexec`有一些重要的安全和考虑点: - 安全: 1. 身份验证和授权:确保您拥有要运行命令的远程主机的有效凭据。还要检查正在执行的命令在远程主机上是否具有所需的权限。 2. 加密:如果可能,使用加密通信来保证传输数据的安全。一些远程执行工具支持加密,例如:b.`psexec`与参数`-smb2`。 3. 防火墙规则:检查远程主机上的防火墙设置,以确保远程执行工具允许传入连接。 4. 更新软件:使主机系统和远程系统上的软件保持最新,以便从最新的安全功能和补丁中受益。 - 使用和错误处理: 1. 避免提示:避免使用远程执行时触发提示的命令(交互式命令)。这可能会导致意外的行为。 2. 检查日志记录:检查双方(本地和远程主机)的日志文件,以确保命令按预期执行。日志中可能会出现错误或意外行为。 3. 网络延迟:请注意网络延迟,尤其是在同时执行多个远程命令时。高延迟可能导致执行时间更长。 - 替代方法: 1. PowerShell Remoting:对于 Windows 系统,PowerShell Remoting 提供了一种在远程计算机上执行命令的安全且强大的方法。 2. SSH:如果您使用 Unix/Linux 系统,SSH 是一种广泛使用且安全的执行远程命令的方式。 请务必谨慎使用远程执行命令,并确保它们在您的特定场景中安全且合适。


Deutsch
English
Español
Français
Italiano
日本語 (Nihongo)
한국어 (Hangugeo)
汉语 (Hànyǔ)
Türkçe
Português
Português
Svenska
Norsk
Dansk
Suomi
Nederlands
Polski









Windows-10


... Windows 10 FAQ
... Windows 10 How To


Windows 10 How To


... Windows 11 How To
... Windows 10 FAQ



指挥 rexec - Runs commands on remote hosts running the REXEC service. Rexec authenticates the user name on the remote host before executing the specified command.

HTTP: ... console/cn/143.htm
0.108
31339

What is TMC in a car radio?

What are left-right arrow keys?

QTP as a simple translator that inserts German texts from English menu Text?

How can I eliminate most of the corona viruses?

Passworteingabe ohne Tastatur bei der Anmeldung (Login) in Windows 7/8/10, bzw. mit der Bildschirm-Tastatur?

Windows Font Viewer?



(0)