David is right, with the exception that private key files must have
permissions so that only the user and root can read  (600).    Otherwise,
they are ignored.

On Thu, Oct 3, 2019 at 8:32 AM Jousma, David <
[email protected]> wrote:

> What permissions do you have on the .ssh file in the home directory?  On
> my system in my personal home directory, .ssh is 700.  The files inside of
> it, need to be 644.
>
>
> _____________________________________________________________________________________________________
> Dave Jousma
> AVP | Manager, Systems Engineering
>
> Fifth Third Bank  |  1830 East Paris Ave, SE  |  MD RSCB2H  |  Grand
> Rapids, MI 49546
> 616.653.8429  |  fax: 616.653.2717
>
>
> -----Original Message-----
> From: IBM Mainframe Discussion List <[email protected]> On Behalf
> Of Joel M Ivey
> Sent: Thursday, October 3, 2019 9:19 AM
> To: [email protected]
> Subject: sftp config file
>
> **CAUTION EXTERNAL EMAIL**
>
> **DO NOT open attachments or click on links from unknown senders or
> unexpected emails**
>
> Using JCL for sftp connection to external server.  Debug shows
>
> Reading configuration data /etc/ssh/ssh_config
> Reading configuration data /etc/ssh/zos_ssh_config
>
> I need it to read ~/.ssh/config and ~/.ssh/zos_user_config but it's not.
>
> Searching through the manuals and archives, but need guidance.
> According to the manual, it's supposed to look in ~/.ssh before /etc/ssh.
>
> Joel
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send email
> to [email protected] with the message: INFO IBM-MAIN **CAUTION
> EXTERNAL EMAIL**
>
> **DO NOT open attachments or click on links from unknown senders or
> unexpected emails**
>
> This e-mail transmission contains information that is confidential and may
> be privileged.   It is intended only for the addressee(s) named above. If
> you receive this e-mail in error, please do not read, copy or disseminate
> it in any manner. If you are not the intended recipient, any disclosure,
> copying, distribution or use of the contents of this information is
> prohibited. Please reply to the message immediately by informing the sender
> that the message was misdirected. After replying, please erase it from your
> computer system. Your assistance in correcting this error is appreciated.
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to