kpisoft
asked on
ftp over ssl solaris
Experts,
My shell script in SunOS 5.8 ftp data from an external server. I didnt have an issue in it till now. Now that my organization policy does not allow ftp due to security reasons, i have to try ftping over a ssl handshake. Can some one help me what the prerequsits are to do it, and may be some guidance how this should actually be done. This is a daily batch process and I have to accomplish it in my scripts, hence shell script samples (or links to it) are welcome. Thanks in advance.
My shell script in SunOS 5.8 ftp data from an external server. I didnt have an issue in it till now. Now that my organization policy does not allow ftp due to security reasons, i have to try ftping over a ssl handshake. Can some one help me what the prerequsits are to do it, and may be some guidance how this should actually be done. This is a daily batch process and I have to accomplish it in my scripts, hence shell script samples (or links to it) are welcome. Thanks in advance.
you may use sftp. here you need to either set trust between the two accounts or use expect to feed user name and password. here links:
https://www.experts-exchange.com/questions/22919218/SFTP-from-unix-to-windows.html
http://www.sun.com/bigadmin/content/submitted/ssh_setting.html
http://unix.ittoolbox.com/groups/technical-functional/solaris-l/ssh-without-password-765537
http://waelchatila.com/2005/06/06/1118124232757.html
http://linuxproblem.org/art_9.html
http://www.unix.com/shell-programming-scripting/21466-automating-sftp-expect.html
https://www.experts-exchange.com/questions/22919218/SFTP-from-unix-to-windows.html
http://www.sun.com/bigadmin/content/submitted/ssh_setting.html
http://unix.ittoolbox.com/groups/technical-functional/solaris-l/ssh-without-password-765537
http://waelchatila.com/2005/06/06/1118124232757.html
http://linuxproblem.org/art_9.html
http://www.unix.com/shell-programming-scripting/21466-automating-sftp-expect.html
ASKER
Thanks guys for your suggestions, but I will not be able to use SCP or SFTP because my boss insists on ssl. As far as I know this is because the server from which i get the file does not allow a SSH, they allow SSL.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You may use lftp (http://lftp.yar.ru/), which supports ftp over SSL connections.
this is the syntax for it
scp <filename> username@servername:/var/t
let me know if that helps