Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux远程工具winexe用户名/密码_Linux_Windows_Message_Winexe_Remotecommand - Fatal编程技术网

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

Linux远程工具winexe用户名/密码,linux,windows,message,winexe,remotecommand,Linux,Windows,Message,Winexe,Remotecommand,我正在使用winexe将远程命令从我的Ubuntu计算机发送到Windows计算机。如果我输入了用户域/用户名%password,效果很好。然而,我相信psExec是一个从windows向windows发送远程命令的实用程序,它不需要用户名密码组合 因此,该命令起作用: bin/winexe -U user%password //computer 'msg hello world' 这个没有 bin/winexe//computer'msg hello world'没有错误,只需列出wine

我正在使用winexe将远程命令从我的Ubuntu计算机发送到Windows计算机。如果我输入了用户域/用户名%password,效果很好。然而,我相信psExec是一个从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