Linux Remote Tool-Winexe用户名/密码
-
21-12-2019 - |
题
我正在使用winexe从我的Ubuntu计算机发送远程命令到Windows计算机。如果我是用户域/ username%的密码,则工作很棒。但是,我相信PSExec是一个utility要将远程命令从Windows发送到Windows,不需要用户名密码组合。
所以这个命令有效:
bin/winexe -U user%password //computer 'msg hello world'
.
这个没有
bin/winexe //computer 'msg hello world'
在Winexe中列出命令没有错误
任何建议?
解决方案
似乎没有办法避免输入用户名/密码,但您可以尝试以下方式:
winexe --authentication-file //computer 'msg hello world'
.
以此格式创建身份验证文件。
domain=domainName
username=myUserName
password=myPassword
. 不隶属于 StackOverflow