COZ_SFTP_USER_CLIENT_CONFIG variable question

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
tdemonbreum
Posts: 1
Joined: Wed Jul 02, 2014 3:20 pm

COZ_SFTP_USER_CLIENT_CONFIG variable question

Post by tdemonbreum »

I'm using version 2.4.5 and attempting to customize for sftp the default path for users cozsftp_config. Instead of going to the default of $HOME/.ssh/cozsftp_config
I want it to go somewhere else. The manual states setting variable COZ_SFTP_USER_CLIENT_CONFIG in the /etc/ssh/cozsftp_client.rc would override this but it
doesn't seem to and after looking at the $COZ_HOME/bin/cozsftp script I don't see how it could. I did change it COZ_SFTP_USER_CONFIG instead (dropped the "CLIENT")
and that works but is that correct and the manual wrong or am I missing something?
coz
Posts: 392
Joined: Fri Jul 30, 2004 5:29 pm

Re: COZ_SFTP_USER_CLIENT_CONFIG variable question

Post by coz »

You're correct - this is a documentation problem. There are actually two environment variables that are affected:

Code: Select all

COZ_SFTP_USER_CLIENT_CONFIG -> COZ_SFTP_USER_CONFIG
COZ_SFTP_USER_CLIENT_RC -> COZ_SFTP_USER_RC
Thanks for reporting this; I'll update the documentation
Post Reply