I would like to donwload a few files from sftp server. I have to do that everyday. I want to create a batch file because I do not want to download file manuel everyday. I faced a problem with sftp.exe when I tryed to put password bach file it did not work. I entered on command screen like username@serverip I need a keey or way to auto login. Server is not our server. remote server has specific username and password. please help me about this issue. My client is windows server 2003 std. edt.
Regards.
You need to use PKA for a passwordless authentication - See FAQ /content/i-want-set-ssh-communication-without-passwords for a recipe. Then you can initiate sftp with the option -i to specify identity file (the private key). See http://man.openbsd.org for more information about sftp commandline options.
We have a password we do not have PKA passwordless. I do not know how we will confifre it because server is not our server. They gave us password who has server.
There is not another chance to fix this password issue ? Who is product developper ?
The solution is already described: You need to use PKA for passwordless operation. It is NOT possible to automate user/password combination. If you have a user/password, you can then login and create a pka keypair and follow instructions in a previous post.