I'm trying to write a shell script to transfer files to a remote windows machine which is running a ultra simple sftp server . Its a light version from coreftp. So i don't have the option of using public key authentication.
From the Linux end its a stripped down version for non intel platform , So if i want to use "expect" i cant install expect/tcl/tk. And this is for testing purpose and i would like to input the password from Shell script. Is there a method available?
#!/bin/sh
HOST='10.x.x.x'
USER='user'
PASSWD='passwd'
sftp $USER@$HOST
Is it not possible to input password from shellscript without using any tool ?