copssh / sftp.exe batch file.

5 posts / 0 new
Last post
ahmet.kalkan
Offline
Last seen: 9 years 11 months ago
Joined: 17.12.2012 - 10:53
copssh / sftp.exe batch file.

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.

 

itefix
Offline
Last seen: 15 hours 20 min ago
Joined: 01.05.2008 - 21:33
You need to use PKA for a

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.

ahmet.kalkan
Offline
Last seen: 9 years 11 months ago
Joined: 17.12.2012 - 10:53
We have a password we do not

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.

ahmet.kalkan
Offline
Last seen: 9 years 11 months ago
Joined: 17.12.2012 - 10:53
There is not another chance

There is not another chance to fix this password issue ? Who is product developper ?

itefix
Offline
Last seen: 15 hours 20 min ago
Joined: 01.05.2008 - 21:33
The solution is already

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.

Release news