【问题标题】:Linux remote tool-winexe username/passwordLinux远程工具-winexe用户名/密码
【发布时间】:2014-01-28 21:12:46
【问题描述】:

我正在使用 winexe 将远程命令从我的 Ubuntu 计算机发送到 Windows 计算机。如果我的用户 domain/username%password 效果很好。但是我相信 psExec 是一个从 Windows 向 Windows 发送远程命令的实用程序,不需要用户名密码组合。

所以这个命令有效:

bin/winexe -U user%password //computer 'msg  hello world'

这个没有

bin/winexe //computer 'msg hello world'没有错误,只是在winexe中列出命令

有什么建议吗?

【问题讨论】:

    标签: linux windows message winexe remotecommand


    【解决方案1】:

    似乎没有办法避免输入用户名/密码,但您可以尝试以下方式:

    winexe --authentication-file //computer 'msg  hello world'
    

    以这种格式创建身份验证文件。

    domain=domainName
    username=myUserName
    password=myPassword
    

    【讨论】:

      猜你喜欢
      • 2018-01-19
      • 2014-05-25
      • 1970-01-01
      • 2014-12-20
      • 1970-01-01
      • 1970-01-01
      • 2018-02-19
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多