Authentication methods

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

Authentication methods

Post by fulldraw68 » Tue Nov 19, 2019 1:57 pm

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 » Thu Nov 21, 2019 1:19 pm

Anyone?

dovetail
Site Admin
Posts: 1913
Joined: Thu Jul 29, 2004 12:12 pm

Re: Authentication methods

Post by dovetail » Tue Nov 26, 2019 2:12 pm

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