plink -v -ssh -batch -l user -pw xxx ipxxx -m commands.txt > result.txt

T

TigerX777

Guest
Hello Guys

today im trying to execute a list of commands from a text file remotely using plink

but when i execute it i got this:

plink -v -ssh -batch -l user -pw xxx ipxxx -m commands.txt > result.txt

Started a shell/command
: command not found
uname: extra operand `\r'
Try `uname --help' for more information.
: command not found
: command not founde
: command not found
: command not found
: command not found
: No such file or directory
: command not found
Server sent command exit status 127
: command not found
Disconnected: All channels closed

any ideas of what im doing wrong?

thanks !
 


It looks like the commands.txt file may not be in the correct form for Plink to interperet.
 
Hello Ryanvade

yes my commands file was corrupted so i generate a new one and later tested again and it works.

thanks and regards !!!
 

Members online


Top