Linux远程工具 - winexe用户名/密码

时间:2014-01-10 02:21:55

标签: linux windows message winexe remotecommand

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

所以这个命令有效:

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

这个没有

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

有什么建议吗?

1 个答案:

答案 0 :(得分:3)

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

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

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

domain=domainName
username=myUserName
password=myPassword
相关问题