Hi,
I am new to unix and plink in general. I want to run plink.exe on windows to execute alias command on unix. Is it possible? I can run simple unix commands from plink for ex:
plink.exe -pw mypass myusername@hostip touch filename
It successfully creates the "filename" file on the hostip host.
But if I create an alias for it:
myusername>alias createfile='touch mm'
and I run from plink:
plink.exe -pw mypass myusername@hostip createfile
it returns: ksh: createfile: not found
I tried also:
plink.exe -pw mypass myusername@hostip -s createfile
result was: FATAL ERROR: Server refused to start a shell/command
So how can I run alias commands within plink?
Thanks,
Ivanhou