Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I know that this is not what you asked about, but.
If possible, do not use FTP, use SCP (file copy with SHH-protocol). FTP transfers your login and password in clear text, for anyone to read that can with etherial or other tools. SCP (and SSH) crypt all your trafic, inluding user name and passwords.
And never store passwords in text files...
it's easy to setup password less logins for ssh based file transfer (scp/sftp).
Create the keys: ssh-keygen -t rsa
Copy key to destination: scp .ssh/id_rsa.pub user@othermachine:
ssh to remote machine and add pub key to keys file: cat id_rsa.pub .ssh/authorized_keys
for further info, google up 'ssh keys'
And if you transfer large files and find the encryption slows you down, just turn it off with the following switch: -o Cipher=none
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.