Replacing FTP with SFTP

Man of Honour
Joined
17 Feb 2003
Posts
29,640
Location
Chelmsford
Currently, we have various processes that FTP our backups to our DR host using FTP. These are done via scheduled FTP scripts from our iSeries.

We wish to secure these FTP processes with an encryption method and i've been asked to look at SFTP. However, I'm lead to believe that SFTP is not FTP over SHH. I'm not sure what this actually means so I'm a little confused.?

Does this means we'll have to re-engineer our FTP scripts? Or is it just a case of pointing the conection through a different port i.e. 22.

Any help would be greatly appreciated.
 
Unless your FTP scripts are complex then there isn't going to be a huge amount of re-engineering requried. PUT is still PUT etc.

The logon is probably the biggest change - I assume you'll be going to SSH key exchange rather than ID/Password authentication.

EDIT: Just noticed your comment about pointing the connection to port 22 - you'll need to replace your FTP client & server with an SFTP client & server.


Ok I think I half have you. So when i run the script, what dicates it's SFTP over FTP?
 
The FTp is started on an iSeries

STRTCPFTP host which refers to a script to run

the script looks like ftis so the ftp x x x isn't atcually used.

Code:
 *** *****                                                   
 sendpasv                                                               
 binary                                                                 
 quote time 900 999999                                                  
 put blbsavlib/savedya blbsavlib/savedya                                
 quo rcmd sbmjob cmd(call pgm(blbsyslib/rstsavedya)) job(rstsavedya)    
 cd blbsavlib                                                           
 dir                                                                    
 close                                                                  
 quit

edit.. ok.. i've just found out that sftp isn't supported on the our current OS release.

rp.. that last post was a big help.. Thanks
 
Last edited:
Back
Top Bottom