not able to run lftp using a script
Posted 03-30-2009 at 07:33 AM by vjayraghavan
I am not able to run lftp using a script... Manual log in works fine... But when i try to run through a script with out password it fails... Below is the script which i am executing using lftp -f command ...
Below is the error log
<--- ************************** >>>> W A R N I N G <<<< **************************
<---
<--- test@<IP>'s password: XXXX
<--- Permission denied, please try again.
<--- test@<IP>'s password: XXXX
<--- Permission denied, please try again.
<--- test@<IP>'s password: XXXX
<--- Received disconnect from <IP>: 14: 17131: Login failed. Maximum authentication retries for user test exceeded
**** Peer closed connection
---- Disconnecting
---- Running connect program (ssh -ax -s -l bestbuytest 204.8.24.51 sftp)
---> sending a packet, length=5, type=1(INIT), id=0
<---
But the same password works when i try it manually... Please help me
Code:
debug 10 open sftp://<IP> user test test mget -O /massupload/ /*.gpg
Below is the error log
<--- ************************** >>>> W A R N I N G <<<< **************************
<---
<--- test@<IP>'s password: XXXX
<--- Permission denied, please try again.
<--- test@<IP>'s password: XXXX
<--- Permission denied, please try again.
<--- test@<IP>'s password: XXXX
<--- Received disconnect from <IP>: 14: 17131: Login failed. Maximum authentication retries for user test exceeded
**** Peer closed connection
---- Disconnecting
---- Running connect program (ssh -ax -s -l bestbuytest 204.8.24.51 sftp)
---> sending a packet, length=5, type=1(INIT), id=0
<---
But the same password works when i try it manually... Please help me
Total Comments 0