I am pulling data from remote SFTP server via LFTP. I really like its features.
I have executed following command through screen.
lftp -u xxxxx,xxxxx -e "set sftp:connect-program 'ssh -a -x -i /sftp/user/downloads/.ssh/id_dsa';mirror -vvv -c /data/ /sftp/user/downloads/2014_ic; quit" sftp://x.x.x.x:22 >> /home/test/lftp_ic_get_logs_20140913
But anyone can see the credentials through the process details.
How would I hide certain sections of the command?
Is it possible via script that we can hide the entire command details?
TIA...