简体   繁体   中英

Linux remote tool-winexe username/password

I am using winexe to send remote commands from my Ubuntu computer to Windows computer. Works great IF i user domain/username%password . However I believe in psExec which is a utility to send remote commands from windows to windows, does not need a username password combo.

So this command works:

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

this one doesn't

bin/winexe //computer 'msg hello world' No error just list commands in winexe

Any suggestions?

seems there is no way to avoid to input username/password, but you can try below way:

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

Create the authentication file in this format.

domain=domainName
username=myUserName
password=myPassword

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM