Have you thought of using SCP instead of FTP to transfer files.  If
security is important to you then you should be using SCP instead of FTP
anyway.

If you are using SSH2 you can use SCP2 without passwords.  Go here for
directions on how to setup SCP2 to work without passwords :
http://www.narced.com/linux/ssh2+scp2_without_passwords.txt

On Tue, 28 Dec 1999, Paul Crossman wrote:

> I'm trying to write a shell script where part of the functionality is an
> ftp.  How can I use ftp or a related utility so that I, or someone else
> doesn't have to be there to type the password.
> 
> I tried
> 
> ftp < filename, where filename is a text file that has stuff in it that
> I would type at the prompts....no go.
> 
> I also tried
> 
> ftp host.do.main < filename
> 
> I can't use anything like rsh or rcp as this is a very secure
> environment that I'm working in.  Every box is locked down for the most
> part.  Most of my activities have to be done via ssh.
> 
> I haven't tried sftp, but I'm pretty shure that it's not going to work.
> 
> Anyone have any suggestions???
> 
> Sincerely,
> Paul C.
> 
> 
> -- 
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
> 
> 
> 


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to