Computing.Net > Forums > Solaris > Using Encrypted Passwd in FTP scrip

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Using Encrypted Passwd in FTP scrip

Reply to Message Icon

Name: abirla
Date: July 14, 2003 at 12:16:49 Pacific
OS: Solaris
CPU/Ram: USII/2GB
Comment:

How can I use encrypted passwds in shell scripts to login to FTP servers?



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: July 17, 2003 at 05:03:43 Pacific
Reply:

ftp, pop3, telnet are clear text protocols. Perhaps it would be better to store the passwd in a file that is only readable by the owner and have the shell script read the value from the file.

passwd=`cat $HOME/.secret_passwd_file`

Also, you may consider ncftp


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Using Encrypted Passwd in FTP scrip

Solaris ftp www.computing.net/answers/solaris/solaris-ftp/3645.html

FTP with Restricted Shell www.computing.net/answers/solaris/ftp-with-restricted-shell/1839.html

Using passwd in a script www.computing.net/answers/solaris/using-passwd-in-a-script-/3658.html