LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > vjayraghavan
User Name
Password

Notices


Rate this Entry

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 ...


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
Posted in Uncategorized
Views 2401 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration