Hello ,
Our COZ sftp JCLs try reach this folders, but these folders don't exits.
/.sh_history
/.ssh/config
/.ssh/id_rsa
/.ssh/id_rsa
Why cozsftp jobs try to reach this folders? is there any setting for stop the JCLs reach this folders?
Regards
sftp jobs /.ssh... permission errors
Re: sftp jobs /.ssh... permission errors
Co:Z SFTP does not create these files are folders.
Are you asking why they do not exist?
Note: these files look like standard file names that you would have if you had a userid with a home directory of "/".
This is generally not a good idea.
Are you asking why they do not exist?
Note: these files look like standard file names that you would have if you had a userid with a home directory of "/".
This is generally not a good idea.
-
- Posts: 40
- Joined: Thu Jun 01, 2017 9:15 am
Re: sftp jobs /.ssh... permission errors
our coz jcl tried to access this folder we don't known reason
/.sh_history
/.ssh/config
/.ssh/id_rsa
/.ssh/id_rsa
there is no file /.ssh
our coz jcl using
/etc/ssh/zos_ssh_config
is that the reason?
/.sh_history
/.ssh/config
/.ssh/id_rsa
/.ssh/id_rsa
there is no file /.ssh
our coz jcl using
/etc/ssh/zos_ssh_config
is that the reason?
Re: sftp jobs /.ssh... permission errors
Co:Z SFTP uses IBM z/OS OpenSSH.
If you are using a z/OS userid that has a OMVS segment with a HOME directory "/", then IBM OpenSSH will try to use these files:
/.ssh/config
/.ssh/id_rsa
/.ssh/id_rsa
The IBM Unix shell (/bin/sh) will try to use this file:
/.sh_history
1) Why is it a problem if these file do not exist? Are you getting errors running Co:Z SFTP because these file don't exist?
2) If you want the IBM Unix shell and IBM z/OS OpenSSH to use different files, then change the HOME directory in the OMVS segment to something else and create that directory, making it owned by the userid like you would for any home directory.
If you are using a z/OS userid that has a OMVS segment with a HOME directory "/", then IBM OpenSSH will try to use these files:
/.ssh/config
/.ssh/id_rsa
/.ssh/id_rsa
The IBM Unix shell (/bin/sh) will try to use this file:
/.sh_history
1) Why is it a problem if these file do not exist? Are you getting errors running Co:Z SFTP because these file don't exist?
2) If you want the IBM Unix shell and IBM z/OS OpenSSH to use different files, then change the HOME directory in the OMVS segment to something else and create that directory, making it owned by the userid like you would for any home directory.