Securing FTP/iX
user's home directory/group.
Ø
'encrypt' - (optional) TRUE (default) means to encrypt text files. FALSE means no encryption.
However, even if 'encrypt' is TRUE, only non-empty ASCII files will be encrypted.
Ø
'remoteSysT'
- (optional) "MPE/iX", default, means the remote system is known to be an MPE
system. "Unix" means the remote system is known to be a Unix system. '*' means the remote
system type will be determined by this script, which is extra overhead. If the file is encrypted and
the remote system is an MPE system then a job will be streamed on the remote system to decrypt the
file and do some minor cleanup.
Ø 'remSysHasCrypt' - (optional) only applies when the remote system is MPE. TRUE (default)
indicates that the remote system already has the crypt utility, and thus it does not need to be FTP'd
across the wire. FALSE means the remote MPE system may not have Crypt, in which case, a non-
PH
version is FTP'd to the remote system, executed, and then removed. If the remote system is not MPE
this parameter is ignored.
If a CI variable named _SFTP_DEBUG is set to TRUE prior to executing this script, diagnostic
information will be displayed to $STDLIST and the temp files and variables used by the script are kept.
Otherwise, the script still displays errors and some useful information, and deletes all TEMP files and
variables.
7.1.1 Examples
Few examples are illustrated below
1. Transferring a file from MPE/iX to another MPE/iX. Please note that here both source and target machines
are of type MPE/iX.
:sftpput TMPBS, myMachine.myCompany.com, mgrtest.sys, remotedir.sys
--- SFTPPUT --- version A.06
Password for mgrtest.sys on myMachine.myCompany.com?
(MPE password syntax is 'user[,acct]')
** encrypting file : /VANCE/FTPTEST/TMPBS
** transferring file: /VANCE/FTPTEST/TMPBS
=====================================================
1 file transferred successfully.
1 file was encrypted.
2.
Transferring more than one file from MPE/iX to another MPE/iX. Again here, the source and target machines
are of type MPE/iX
:sftpput t@, myMachine.myCompany.com, mgrtest.sys, remotDir.sys
--- SFTPPUT --- version A.06
Password for mgrtest.sys on myMachine.myCompany.com?
Page
24
of
28
Secure FTP on MPE/iX
7/18/2008
http://jazz.external.hp.com/papers/Securing
-
FTP
-
Whitepaper.html