I need to create a plink script to login to my Linux box and copy a file. I can't seem to get this to work.
Here is what I have:
plink -ssh root@192.168.2.210 -pw PASSWORD mv -f /etc/resolv.conf.noint /etc/resolv.conf
But when I run it, I get the message:
mv: cannot stat `/etc/resolv.conf.noint': No such file or directory
If I run the command manually through and SSH connection, it works fine.
Start Free Trial