Authentication methods

Discussion of the COZBATCH utility for z/OS
Post Reply
fulldraw68
Posts: 10
Joined: Mon Oct 19, 2015 5:29 pm

Authentication methods

Post by fulldraw68 »

We have batch jobs running that sFTP files to a vendor. The batch jobs run under a specific ID. If I run that exact same job under a different userid it gets FOTS1373 Permission denied (password)
Why does it not check for publickey authentication too? Jobs are the same pointing to the same config files only user is different.
The new user also has the private and public keys in their .ssh directory as well as the proper entry added to it's known hosts file.
Is it something on the vendor side that needs to be set up for this user?

This is the userid running the batch job...not the user used to connect to the host IP.

Thanks.
fulldraw68
Posts: 10
Joined: Mon Oct 19, 2015 5:29 pm

Re: Authentication methods

Post by fulldraw68 »

Anyone?
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: Authentication methods

Post by dovetail »

If you copied your keys to another user's directory, you probably need to change the owner and permissions so that they are properly protected. Otherwise, OpenSSH won't use them.

For more information, see the presentation "IBM Ported Tools for z/OS: OpenSSH - Key Authentication" on this page:
http://dovetail.com/webinars.html.

Especially, the chart "Common Pitfalls"
Post Reply