Any temporary space needed during SFTP ?

General discussion of the Co:Z Toolkit
Post Reply
FreddyGuevara
Posts: 2
Joined: Mon Jun 13, 2011 3:13 pm

Any temporary space needed during SFTP ?

Post by FreddyGuevara »

Hello,

Our users are ready to start using Co:Z (mainly via COZBATCH) to SFTP data from z/OS datasets directly to Unix boxes.

Q: Is the user's home directory used by Co:Z to store any temporary data while SFTPing?

Is this documented anywhere?

If someone can clarify it would be appreciated.

Thanks.
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

The Co:Z SFTP client doesn't create any files in the user's home directory, but it invokes the IBM Ported Tools "ssh" command for its network connection, and the ssh command may create files in the home directory.

Refer to the IBM Ported Tools References Manual:

http://public.dhe.ibm.com/common/ssi/ec ... 91USEN.PDF

On page 16, you will see that:

~/.ssh/prng_seed will be created by the ssh-rand-helper (which is invoked by the ssh command). If you set up ICSF for random seeding (which is HIGHLY recommended), you can avoid this one)

~/.ssh/known_hosts might also be created by the user, but you can avoid this by adding all of your known hosts public keys to either /etc/ssh/known_hosts or in a SAF keyring.

there are other configuration files that you *could* have, but they are not required.

Generally, I would recommend that you set up a small home directory for all of your batch job userids just in case you want to put something there. In theory, you could share home directories, but that is not a good idea IMO.
FreddyGuevara
Posts: 2
Joined: Mon Jun 13, 2011 3:13 pm

Post by FreddyGuevara »

Thanks for the response.

Our concern was more related to any temporary file containing user data (the data that is being SFTP'ed).

So it sounds like the data "travels" directly from the mainframe side without using any space (for data) in the USS directory.

Thanks again.
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

You are correct - no temporary space is needed for the user datasets themselves - the I/O is done directly from/to the dataset and the network.
Post Reply