LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hide password ftp with the same user (https://www.linuxquestions.org/questions/linux-newbie-8/hide-password-ftp-with-the-same-user-4175535414/)

mierdatuti 03-01-2015 02:10 AM

Hide password ftp with the same user
 
Hi
I must connect to ftp to get some files occasionally. To do these I make a script.
The problem is that the user is generic and all of my work use these user in the local host, and the remote machine I must connect with my personal user so they can see my password in the script
There is some way to avoid these?
Thanks and sorry for my English

pan64 03-01-2015 02:32 AM

yes, there are several possibilities. First of all you can use different account for ftp. Another one can be to use sftp, scp, rsync or other kind of transfer.

Turbocapitalist 03-01-2015 02:52 PM

Quote:

Originally Posted by pan64 (Post 5324992)
Another one can be to use sftp, scp, rsync or other kind of transfer.

sftp, scp and rsync can be scripted with the helps of keys.


All times are GMT -5. The time now is 06:19 PM.